mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
679d4395ec
* Re-add smartypants * Updated packages * Remove all the default plugins if there are either remark or rehype plugins * Replace deperecated remark-slug with rehype-slug * Added MarkdownParserResponse type * Update documentation * Removed type import from markdown package * Updated remark-smartypants * Changelog * Missed one change * Split changelogs * Upgraded some MDX dependencies * Fix typos in documentation * Changed CHANGELOG.md package name * Renamed smartypants
2.5 KiB
2.5 KiB
@astrojs/markdown-remark
0.4.0
Minor Changes
e6aaeff5
: Initial release.
Patch Changes
- Updated dependencies [
e6aaeff5
]- @astrojs/prism@0.3.0
0.4.0-next.2
Patch Changes
00d2b625
: Move gray-matter to deps
0.4.0-next.1
Patch Changes
7eaabbb0
: Fix bug where code blocks would not be escaped properly
0.4.0-next.0
Minor Changes
d84bfe71
: Adds prism support within the Markdown plugin.
Patch Changes
- Updated dependencies [
d84bfe71
]- @astrojs/prism@0.3.0-next.0
0.3.1
Patch Changes
b03f8771
: Fix parsing of an empty<pre></pre>
tag in markdown files, which expected the pre tag to have a childb03f8771
: Fix the importing ofunified
Plugin
andUnifiedPlugin
types
0.3.0
Minor Changes
397d8f3d
: Upgrade@astrojs/markdown-support
dependencies. Theremark-rehype@9
upgrade enables accessible footnotes withremark-footnotes
.
0.2.4
Patch Changes
a421329f
: Fix the left-brace issue
0.2.3
Patch Changes
460e625
: Move remaining missing dependencies
0.2.2
Patch Changes
7015356
: Move rehype-raw to a dependency
0.2.1
Patch Changes
70f0a09
: Added remark-slug to default plugins
0.2.0
Minor Changes
-
d396943
: Add support forremark
andrehype
plugins for both.md
pages and.astro
pages using the<Markdown>
component.For example, the
astro.config.mjs
could be updated to include the following. Read the Markdown documentation for more information.Note
Enabling custom
remarkPlugins
orrehypePlugins
removes Astro's built-in support for GitHub-flavored Markdown support, Footnotes syntax, Smartypants. You must explicitly add these plugins to yourastro.config.mjs
file, if desired.export default { markdownOptions: { remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], }, };
Patch Changes
f83407e
: Exposehtml
toAstro.fetchContent
(#571)
0.1.2
Patch Changes
f9f2da4
: Add repository key to all package.json
0.1.1
Patch Changes
50e6f49
: Fixes issues with using astro via the create script