Sébastien Lorber
bb499926a0
refactor(mdx-loader): remove useless usage of mdx loader this.query ( #10422 )
2024-08-19 19:17:33 +02:00
Sébastien Lorber
cc506c8950
feat(mdx): support recma plugins ( #10241 )
2024-06-21 19:25:32 +02:00
Sébastien Lorber
e34614963e
fix(mdx-loader): resolve Markdown/MDX links with Remark instead of RegExp ( #10168 )
2024-05-24 19:03:23 +02:00
Alexey Ivanov
daba917e7c
feat(core): add new site config option siteConfig.markdown.anchors.maintainCase
( #10064 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-04-25 16:35:38 +02:00
Sébastien Lorber
bfb882c2f0
feat(mdx-loader): add support for siteConfig.markdown.remarkRehypeOptions ( #9674 )
2023-12-27 23:19:25 +01:00
Sébastien Lorber
7e456ece3c
feat(mdx-loader): upgrade to MDX v3 + ( #9451 )
2023-10-26 15:47:11 +02:00
ozaki
c6762a2542
feat(mdx-loader): Remark plugin to report unused MDX / Markdown directives ( #9394 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-24 16:15:49 +02:00
Sébastien Lorber
d86aa0da5f
fix(mdx-loader): get correct error line numbers, handle front matter + contentTitle with remark ( #9386 )
2023-10-09 14:55:09 +02:00
yosukekato165
19ee437f64
fix(mdx-loader): ensure heading anchor slugs respect GitHub emoji behavior ( #9202 )
...
Co-authored-by: YosukeKato <katouyousuke@YosukeKato.local>
2023-08-10 18:17:07 +02:00
Sébastien Lorber
ae2a09359a
fix(mdx): fix for html multi-line comments ( #9100 )
2023-06-23 19:33:03 +02:00
Sébastien Lorber
cc6d9696f0
feat(mdx): add siteConfig.markdown.format to configure the default content parser (MDX / CommonMark) ( #9097 )
2023-06-23 18:15:05 +02:00
Sébastien Lorber
07ad635b69
fix: allow html syntax in MDX v2 with format md ( #8960 )
...
* attempt to support html embeds in mdx with format md
* refactor mdx loader + support embedding html in commonmark thanks to rehype-raw
* extract processor code
* refactor processor code
* extract format + unit test
* try to refactor processor
* try to refactor processor
* adjust md page
* do not apply rehype-raw when format is mdx
* fix lint issue
2023-05-12 11:36:42 +02:00