summaryrefslogtreecommitdiff
path: root/packages/markdown/remark
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-03-11 03:25:30 -0700
committerGravatar GitHub <noreply@github.com> 2024-03-11 10:25:30 +0000
commit0e074fb39073909b0e507f79a9bd8d22b28f6036 (patch)
tree03ef1585831862ae1880634961591d4621035b67 /packages/markdown/remark
parent41dca1e413c2f1e38f0326bd6241ccbf9b8ee0e4 (diff)
downloadastro-0e074fb39073909b0e507f79a9bd8d22b28f6036.tar.gz
astro-0e074fb39073909b0e507f79a9bd8d22b28f6036.tar.zst
astro-0e074fb39073909b0e507f79a9bd8d22b28f6036.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/markdown/remark')
-rw-r--r--packages/markdown/remark/CHANGELOG.md17
-rw-r--r--packages/markdown/remark/package.json2
2 files changed, 18 insertions, 1 deletions
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index 550830e08..a005bb4ab 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -1,5 +1,22 @@
# @astrojs/markdown-remark
+## 4.3.0
+
+### Minor Changes
+
+- [#9960](https://github.com/withastro/astro/pull/9960) [`c081adf998d30419fed97d8fccc11340cdc512e0`](https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0) Thanks [@StandardGage](https://github.com/StandardGage)! - Allows passing any props to the `<Code />` component
+
+- [#10130](https://github.com/withastro/astro/pull/10130) [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d) Thanks [@bluwy](https://github.com/bluwy)! - Migrates `shikiji` to `shiki` 1.0
+
+- [#10104](https://github.com/withastro/astro/pull/10104) [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://github.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18) Thanks [@remcohaszing](https://github.com/remcohaszing)! - Changes Astro's internal syntax highlighting to use rehype plugins instead of remark plugins. This provides better interoperability with other [rehype plugins](https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins) that deal with code blocks, in particular with third party syntax highlighting plugins and [`rehype-mermaid`](https://github.com/remcohaszing/rehype-mermaid).
+
+ This may be a breaking change if you are currently using:
+
+ - a remark plugin that relies on nodes of type `html`
+ - a rehype plugin that depends on nodes of type `raw`.
+
+ Please review your rendered code samples carefully, and if necessary, consider using a rehype plugin that deals with the generated `element` nodes instead. You can transform the AST of raw HTML strings, or alternatively use [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html) to get a string from a `raw` node.
+
## 4.2.1
### Patch Changes
diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json
index 3e07f49d1..afa2d881f 100644
--- a/packages/markdown/remark/package.json
+++ b/packages/markdown/remark/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-remark",
- "version": "4.2.1",
+ "version": "4.3.0",
"type": "module",
"author": "withastro",
"license": "MIT",