summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/blog/src/pages/posts/index.md2
-rw-r--r--examples/docs/src/languages.ts2
-rw-r--r--examples/with-markdown-plugins/astro.config.mjs19
3 files changed, 10 insertions, 13 deletions
diff --git a/examples/blog/src/pages/posts/index.md b/examples/blog/src/pages/posts/index.md
index 40d329e3a..949dfb866 100644
--- a/examples/blog/src/pages/posts/index.md
+++ b/examples/blog/src/pages/posts/index.md
@@ -13,4 +13,4 @@ description: Just a Hello World Post!
This is so cool!
-Do variables work {frontmatter.value \* 2}?
+Do variables work {frontmatter.value * 2}?
diff --git a/examples/docs/src/languages.ts b/examples/docs/src/languages.ts
index 069413fd2..5cdea0456 100644
--- a/examples/docs/src/languages.ts
+++ b/examples/docs/src/languages.ts
@@ -1,6 +1,6 @@
import { KNOWN_LANGUAGES } from './config';
-export { KNOWN_LANGUAGES };
+export { KNOWN_LANGUAGES }
export const KNOWN_LANGUAGE_CODES = Object.values(KNOWN_LANGUAGES);
export const langPathRegex = /\/([a-z]{2}-?[A-Z]{0,2})\//;
diff --git a/examples/with-markdown-plugins/astro.config.mjs b/examples/with-markdown-plugins/astro.config.mjs
index 8e70603a3..a7a644944 100644
--- a/examples/with-markdown-plugins/astro.config.mjs
+++ b/examples/with-markdown-plugins/astro.config.mjs
@@ -11,16 +11,13 @@ import astroRemark from '@astrojs/markdown-remark';
export default /** @type {import('astro').AstroUserConfig} */ ({
// Enable Custom Markdown options, plugins, etc.
markdownOptions: {
- render: [
- astroRemark,
- {
- remarkPlugins: ['remark-code-titles', 'remark-slug'],
- rehypePlugins: [
- ['rehype-autolink-headings', { behavior: 'prepend' }],
- ['rehype-toc', { headings: ['h2', 'h3'] }],
- ['rehype-add-classes', { 'h1,h2,h3': 'title' }],
- ],
- },
- ],
+ render: [astroRemark, {
+ remarkPlugins: ['remark-code-titles', 'remark-slug'],
+ rehypePlugins: [
+ ['rehype-autolink-headings', { behavior: 'prepend' }],
+ ['rehype-toc', { headings: ['h2', 'h3'] }],
+ ['rehype-add-classes', { 'h1,h2,h3': 'title' }],
+ ]
+ }]
},
});