Commit graph

330 commits

Author SHA1 Message Date
Anatoly Kopyl
3c982127d7
fix(mdx-loader): the table-of-contents should display toc/headings of imported MDX partials (#9684)
Co-authored-by: Titus <tituswormer@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2024-01-19 18:58:11 +01:00
ozaki
fd49301a45
feat(core): make broken link checker detect broken anchors - add onBrokenAnchors config (#9528)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2024-01-04 12:56:20 +01: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
affca7a9a2
feat: siteConfig.markdown.parseFrontMatter hook (#9624) 2023-12-16 02:50:26 +01:00
Sébastien Lorber
85e5e552cb
chore: release Docusaurus 3.0.0 (#9478) 2023-10-31 16:39:21 +01:00
Sébastien Lorber
495c7936b6
chore: v3.0.0-rc.1 release (#9453) 2023-10-26 20:10:02 +02: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
7ee2f75ce1
chore: v3.0.0-rc.0 release (#9418) 2023-10-20 11:24:29 +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
Zwyx
e17784effa
fix(mdx-loader): prevent Open Graph images from being inserted as base64 (#9369)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-05 14:21:27 +02:00
ozaki
bde9cfd84d
chore: update node engine version 18 (#9348)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-09-28 16:45:25 +02:00
Sébastien Lorber
52d79c4e0c
chore: v3.0.0-beta.0 release (#9311) 2023-09-15 19:44:35 +02:00
Sébastien Lorber
9868babf75
fix(mdx-loader): improve mdxJsxTextElementToHtml (#9262) 2023-08-25 19:05:16 +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
Joshua Chen
ff227283d2
chore: upgrade dependencies (non-major) (#9148)
* chore: upgrade dependencies (non-major)

* Downgrade
2023-07-16 23:44:17 +08: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
0b3d5cb59e
fix(mdx-loader): loader error message should display stacktrace if no extra MDX details (#9091) 2023-06-22 16:44:01 +02:00
Sébastien Lorber
7d033cc8c0
chore: v3.0.0-alpha.0 release (#9072) 2023-06-15 17:48:55 +02:00
Sébastien Lorber
187e5aa218
feat: React 18 + automatic JSX runtime + build --dev (#8961) 2023-06-08 19:40:15 +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
Sébastien Lorber
bf913aea2a
feat: upgrade to MDX v2 (#8288)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2023-04-21 19:48:57 +02:00
Joshua Chen
e21591c073
chore: upgrade dependencies (non-major) (#8749)
chore: upgrade dependencies
2023-03-08 21:28:14 -05:00
Joshua Chen
3526059214
chore: bump dependencies major versions (#8537) 2023-01-10 15:22:19 -05:00
Joshua Chen
e8a07633ba
chore: upgrade dependencies (#8534)
* chore: upgrade dependencies

* FIxes

* Bump again
2023-01-10 13:23:16 -05:00
Sébastien Lorber
59fac0b1d1
docs: document siteConfig.markdown + better mdx-loader retrocompat (#8419) 2022-12-07 17:59:51 +01:00
Balthasar Hofer
b016686c22
fix(mdx-loader): support nested admonitions (#8303)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
closes undefined
2022-11-23 21:19:29 +01:00
Sébastien Lorber
1d5afbaaa5
fix(mermaid): fix Mermaid integration for v9.2 release (#8282) 2022-11-10 16:07:18 +01:00
Sam Wall
9c92a79d23
feat: support mermaid code blocks in Markdown (#7490)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-14 18:07:20 +02:00
Joshua Chen
275f509d13
chore: upgrade dependencies (#7993)
* chore: upgrade dependencies

* Fix lint

* Bump more

* Fix lint
2022-09-08 01:31:53 -04:00
Sébastien Lorber
6f63ffe0a3
refactor(theme): split admonitions, make swizzle easier, better retrocompatibility (#7945)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-09-07 17:49:44 +02:00
Sébastien Lorber
2a6f116a85
chore: bad remark-admonition readme link (#7939) 2022-08-11 10:38:35 +02:00
Sébastien Lorber
b7ea00a917
chore: bump main to 3.0.0-alpha.0 (#7923) 2022-08-08 19:13:49 +02:00
Joshua Chen
1bf5c0d36e
chore: upgrade dependencies (#7883) 2022-08-02 16:44:02 +08:00
Joshua Chen
960637a090
chore: upgrade dependencies (#7822) 2022-07-23 22:26:48 +08:00
Joshua Chen
17ec6bbde7
chore: upgrade dependencies (#7794) 2022-07-17 12:44:46 +08:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 (#7782) 2022-07-14 19:30:17 +02:00
Joshua Chen
07641ae53d
chore: upgrade dependencies (#7754) 2022-07-10 00:32:32 +08:00
Sébastien Lorber
f0f97f29f9
chore: prepare v2.0.0-beta.22 release (#7741) 2022-07-08 18:34:05 +02:00
Joshua Chen
fa22927250
chore: upgrade dependencies (#7684)
* chore: upgrade dependencies

* fix

* reupgrade

* downgrade
2022-07-04 19:36:43 +08:00
Joshua Chen
5137543914
chore: upgrade dependencies (#7646) 2022-06-18 17:03:41 +08:00
Joshua Chen
b4d93b9bd0
chore: upgrade to TS 4.7, compile with NodeNext (#7586)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-15 19:15:11 +02:00
Joshua Chen
e12a2efaeb
docs: normalize capitalization (#7619) 2022-06-15 13:04:33 +08:00
Joshua Chen
7869e74fd7
refactor(pwa): simplify registerSW code, fix ESLint errors (#7579) 2022-06-07 21:42:17 +08:00
Joshua Chen
90d2de6baf
chore: upgrade dependencies (#7560)
* chore: upgrade dependencies

* fix
2022-06-04 21:05:53 +08:00
Alexey Pyltsyn
5746c58f41
refactor: handle all admonitions via JSX component (#7152)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-03 14:26:33 +02:00
Joshua Chen
9023b7740c
refactor: remove sub-eslintrc, fix more lint errors (#7530) 2022-05-30 14:49:51 +08:00
Joshua Chen
f443e992b9
refactor: mark toc in loaded MDX as non-optional (#7524) 2022-05-29 22:36:41 +08:00
Joshua Chen
8b1acb50d1
fix: make type-checking pass in Yarn PnP (#7521)
* fix: make type-checking pass in Yarn PnP

* fix

* fix?

* fix...

* almost there

* try again

* little fix

* disable
2022-05-28 23:52:05 +08:00