[ci] yarn format

This commit is contained in:
natemoo-re 2021-11-22 20:49:15 +00:00 committed by GitHub Actions
parent 679d4395ec
commit c22e4c69ec

View file

@ -18,8 +18,8 @@ export default {
'parser-name', // or import('parser-name') or (contents) => {...}
{
// options
}
]
},
],
},
};
```
@ -33,7 +33,7 @@ In addition to custom components inside the [`<Markdown>` component](/guides/mar
- [GitHub-flavored Markdown](https://github.com/remarkjs/remark-gfm)
- [remark-smartypants](https://github.com/silvenon/remark-smartypants)
- [rehype-slug](https://github.com/rehypejs/rehype-slug)
- [Prism](https://prismjs.com/)
- [Prism](https://prismjs.com/)
Also, Astro supports third-party plugins for Markdown. You can provide your plugins in `astro.config.mjs`.
@ -60,9 +60,9 @@ export default {
// If you need to provide options for the plugin, you can use an array and put the options as the second item.
// 'rehype-slug',
// ['rehype-autolink-headings', { behavior: 'prepend'}],
]
}
]
],
},
],
},
};
```
@ -79,8 +79,8 @@ export default {
remarkPlugins: [
[import('remark-autolink-headings'), { behavior: 'prepend' }],
],
}
]
},
],
},
};
```