mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
e67171252c
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
15 KiB
15 KiB
@astrojs/markdown-remark
0.11.3
Patch Changes
- #3638
80c71c7c
Thanks @tony-sull! - Fix: HTML comments in markdown code blocks should not be wrapped in JS comments
- #3612
fca58cfd
Thanks @bholmesdev! - Fix: "vpath" import error when building for netlify edge
- #3630
48e67fe0
Thanks @tony-sull! - Encodes ampersand characters in code blocks
- #3620
05aa7244
Thanks @hippotastic! - Remove extra newlines around Markdown components
0.11.2
Patch Changes
- #3572
5c73f614
Thanks @hippotastic! - Fix remarkMdxish performance issue on huge sites
0.11.1
Patch Changes
- #3564
76fb01cf
Thanks @hippotastic! - Fix autolinking of URLs inside links
- #3554
c549f161
Thanks @hippotastic! - Allow AlpineJS syntax extensions in Markdown
0.11.0
Minor Changes
Patch Changes
- #3514
6c955ca6
Thanks @hippotastic! - Fix Markdown errors missing source filename
- #3516
30578015
Thanks @hippotastic! - Fix: Allow self-closing tags in Markdown
0.10.2
Patch Changes
- #3486
119ecf8d
Thanks @hippotastic! - Fix components in markdown regressions
0.10.1
Patch Changes
- #3444
51db2b9b
Thanks @bholmesdev! - Fix: markdown imports failing due to internal dependency issue
0.10.0
Minor Changes
- #3410
cfae9760
Thanks @natemoo-re! - Significantally more stable behavior for "Markdown + Components" usage, which now handles component serialization much more similarly to MDX. Also supports switching between Components and Markdown without extra newlines, removes wrapping<p>
tags from standalone components, and improves JSX expression handling.
0.9.4
Patch Changes
0.9.3
Patch Changes
- #3234
de123b28
Thanks @JuanM04! - Removedrehype-slug
in favor of our own implementation. The behavior of the slugging should remain the same
0.9.2
Patch Changes
- #3152
9ba1f4f8
Thanks @bholmesdev! - Fix JSX expression inconsistencies within markdown files
0.9.1
Patch Changes
- #3108
ef198ff8
Thanks @FredKSchott! - shiki: Adddiff
symbol handling to disableuser-select
on+
/-
symbols.
0.9.0
Minor Changes
53162534
Thanks @FredKSchott! - - RemovedrenderMarkdownWithFrontmatter
because it wasn't being used- All options of
renderMarkdown
are now required — see the exported interfaceAstroMarkdownOptions
- New types: RemarkPlugin, RehypePlugin and ShikiConfig
- All options of
0.8.2
Patch Changes
0.8.1
Patch Changes
0.8.0
Minor Changes
e425f896
Thanks @FredKSchott! - Update config options to resepect RFC0019
0.7.0
Minor Changes
- #2824
0a3d3e51
Thanks @bholmesdev! - Change shiki to our default markdown syntax highlighter. This includes updates to all relevant starter projects that used Prism-specific styles.
Patch Changes
-
#2870
d763ec18
Thanks @FredKSchott! - Fix a shiki performance issue affecting large sites -
Updated dependencies [
2db97f10
]:- @astrojs/prism@0.4.1
0.7.0-next.1
Patch Changes
-
#2870
d763ec18
Thanks @FredKSchott! - Fix a shiki performance issue affecting large sites -
Updated dependencies [
2db97f10
]:- @astrojs/prism@0.4.1-next.0
0.7.0-next.0
Minor Changes
- #2824
0a3d3e51
Thanks @bholmesdev! - Change shiki to our default markdown syntax highlighter. This includes updates to all relevant starter projects that used Prism-specific styles.
0.6.4
Patch Changes
0.6.3
Patch Changes
- #2697
91765d79
Thanks @FredKSchott! - Improve performance by optimizing calls togetHighlighter
0.6.2
Patch Changes
0.6.1
Patch Changes
- #2534
cfeaa941
Thanks @JuanM04! - Now you can use local plugins by passing a function instead of animport
- #2518
2bc91543
Thanks @JuanM04! - Added the ability to use custom themes and langs with Shiki (<Code />
and@astrojs/markdown-remark
)
0.6.1-next.2
Patch Changes
0.6.1-next.1
Patch Changes
- #2534
cfeaa941
Thanks @JuanM04! - Now you can use local plugins by passing a function instead of animport
- #2518
2bc91543
Thanks @JuanM04! - Added the ability to use custom themes and langs with Shiki (<Code />
and@astrojs/markdown-remark
)
0.6.1-next.0
Patch Changes
0.6.0
Minor Changes
- #2202
45cea6ae
Thanks @jonathantneal! - Officially drop support for Node v12. The minimum supported version is now Node v14.15+,
Patch Changes
- Updated dependencies [
45cea6ae
]:- @astrojs/prism@0.4.0
0.5.0
Minor Changes
679d4395
: - Upgraded dependencies- Replaced
remark-slug
withrehype-slug
because it was deprecated - Replaced
@silvenon/remark-smartypants
withremark-smartypants
because its name was changed - Disable all built-in plugins when custom remark and/or rehype plugins are added
- Removed
remark-footnotes
becauseremark-gfm
now supports footnotes - Re-added
remark-smartypants
andrehype-slug
to the default plugins list
- Replaced
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