diff options
author | 2022-08-15 10:43:12 -0400 | |
---|---|---|
committer | 2022-08-15 10:43:12 -0400 | |
commit | f1a52c18afe66e6d310743ae6884be76f69be265 (patch) | |
tree | 3cfe80e6650e9fe171d1f560e386c4d559c9eb22 /packages/integrations/mdx/package.json | |
parent | 3889a7fa753d878d9143e1280d3b8a686f2a2433 (diff) | |
download | astro-f1a52c18afe66e6d310743ae6884be76f69be265.tar.gz astro-f1a52c18afe66e6d310743ae6884be76f69be265.tar.zst astro-f1a52c18afe66e6d310743ae6884be76f69be265.zip |
[MDX] Switch from Shiki Twoslash -> Astro Markdown highlighter (#4292)
* freat: twoslash -> Astro shiki parser
* test: update shiki style check
* feat: always apply rehypeRaw
* deps: move remark-shiki-twoslash to dev
* test: add shiki-twoslash test
* docs: update readme with twoslash example
* chore: changeset
* nit: remove "describe('disabled')"
Diffstat (limited to 'packages/integrations/mdx/package.json')
-rw-r--r-- | packages/integrations/mdx/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 618eaabfe..636cdb643 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -39,7 +39,6 @@ "rehype-raw": "^6.1.1", "remark-frontmatter": "^4.0.1", "remark-gfm": "^3.0.1", - "remark-shiki-twoslash": "^3.1.0", "remark-smartypants": "^2.0.0", "shiki": "^0.10.1", "unist-util-visit": "^4.1.0", @@ -56,6 +55,7 @@ "mdast-util-to-string": "^3.1.0", "mocha": "^9.2.2", "reading-time": "^1.5.0", + "remark-shiki-twoslash": "^3.1.0", "remark-toc": "^8.0.1" }, "engines": { |