Sébastien Lorber
545cff6d84
refactor: replace escape-string-regexp with native RegExp.escape ( #12150 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-06-12 16:39:44 +02:00
Sébastien Lorber
96b32dd2e5
refactor(monorepo): migrate to pnpm 11 ( #12109 )
2026-06-04 19:29:20 +02:00
Sébastien Lorber
98a605fe26
chore: use modern Node APIs (AI-assisted) ( #12083 )
2026-05-29 17:17:24 +02:00
Thanasis Katsios
aeae3002d2
fix(mdx-loader): avoid transforming dotted directory links into asset… ( #11944 )
...
Co-authored-by: Thanasis Katsios <th.katsios@kaizengaming.com >
Co-authored-by: sebastien <lorber.sebastien@gmail.com >
2026-05-28 16:33:02 +02:00
Sébastien Lorber
9759b8ee7e
refactor(test): use Explicit Resource Management for mocks/spys ( #12020 )
2026-05-15 20:22:55 +02:00
Sébastien Lorber
7518645e58
chore(monorepo): upgrade monorepo to ESLint 9 ( #12024 )
...
* ESLint 10
* remove backup
* Fix header
* downgrade to ESLint 9 - fix some errors
* fix more errors
* fix more errors
* fix more errors
* fix more errors
* fix more errors
* fix more errors
* fix more errors
* all eslint errors fixed!
* refactor: apply lint autofix
* snapshot
* fix ESLint tests
* snapshot
* lockfile
* fix eslint plugin docs types
* syncpack ignore
* restore eslint-plugin-eslint-plugin, upgrade it + fix new plugin lint errors
---------
Co-authored-by: slorber <749374+slorber@users.noreply.github.com >
2026-05-15 20:08:46 +02:00
Sébastien Lorber
057ab88fe0
refactor(test): use explicit Vitest imports, disable globals ( #12019 )
2026-05-15 10:01:02 +02:00
Sébastien Lorber
be553e029e
chore: migration from Jest to Vitest ( #12010 )
2026-05-14 17:34:35 +02:00
Yangshun Tay
190ef6fa5d
chore: migrate from Prettier to oxfmt for code formatting ( #11824 )
...
Co-authored-by: sebastien <lorber.sebastien@gmail.com >
2026-05-07 13:50:57 +02:00
Sébastien Lorber
76f5ad36cd
test(mdx-loader): fix typo for tests ( #11816 )
2026-03-19 15:49:55 +01:00
Sébastien Lorber
7151555280
feat(cli): write-heading-ids CLI now supports the --syntax option ( #11777 )
2026-03-05 18:59:03 +01:00
Sébastien Lorber
3dbd395983
feat(mdx-loader): add support for explicit headingId based on MD/MDX comments ( #11755 )
...
* refactor tests
* add claude todos
* stable impl
* revert eslint
* improve test
* improve type
* improve impl logic
* working and tested implementation
* refactor: apply lint autofix
* empty
* remove comments
* force usage of # in comment content
* improve the code + test edge cases
* add docs
---------
Co-authored-by: slorber <749374+slorber@users.noreply.github.com >
2026-02-27 18:52:20 +01:00
Sébastien Lorber
d5509e329d
refactor(mdx-loader): improve remark heading plugin unit tests ( #11754 )
...
* migrate mdx unit tests to support MDX syntax instead of commonmark
* improve test structure
* improve test structure
* add md/mdx format tests for headingIds
2026-02-20 15:37:56 +01:00
dependabot[bot]
5f0c0f96ff
chore(deps): bump webpack from 5.95.0 to 5.104.1 ( #11717 )
...
* chore(deps): bump webpack from 5.95.0 to 5.104.1
Bumps [webpack](https://github.com/webpack/webpack ) from 5.95.0 to 5.104.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack/compare/v5.95.0...v5.104.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-version: 5.104.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* empty
* fix TS issues
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com >
2026-02-06 13:09:41 +01:00
Sébastien Lorber
81248ee550
chore(monorepo): upgrade to Jest 30 ( #11702 )
...
Co-authored-by: slorber <749374+slorber@users.noreply.github.com >
2026-01-30 15:09:37 +01:00
Balthasar Hofer
bf9924a5f6
feat(mdx-loader): add admonitions directive support for class/id shortcuts ( #11642 )
2026-01-05 16:34:17 +01:00
Kohei Watanabe
bbec801e3f
fix(mdx-loader): fix url.parse deprecation warning on Node 24+ ( #11530 )
...
Co-authored-by: sebastien <lorber.sebastien@gmail.com >
2025-11-20 21:38:15 +01:00
Sébastien Lorber
e14caf1f78
feat(core): add siteConfig.markdown.emoji config option to disable remark-emoji ( #11282 )
2025-06-24 16:38:08 +02:00
Sébastien Lorber
96c38d5fdd
feat(core): Add siteConfig.markdown.hooks, deprecate siteConfig.onBrokenMarkdownLinks ( #11283 )
2025-06-24 15:51:33 +02:00
Sébastien Lorber
4af8982278
chore: add Node 24 to CI + fix deprecation warnings ( #11168 )
2025-05-09 18:29:07 +02:00
Sébastien Lorber
29d19a6884
refactor(live-codeblock): refactor live code block theme components ( #11077 )
2025-04-10 15:55:02 +02:00
Sébastien Lorber
b7ba0b54fb
chore: upgrade image-size deps to v2 ( #11065 )
...
* upgrade image-size to v2
* fix resizeImage script
* fix tests
2025-04-07 18:29:15 +02:00
Sébastien Lorber
e88f1aaf96
fix(mdx-loader): refactor and fix heading to toc html value serialization ( #11004 )
...
* refactor with iso behavior
* Add unit tests
* change behavior for <img> tags
2025-03-18 17:52:26 +01:00
Sébastien Lorber
d33004da1e
chore: upgrade monorepo to TS 5.8 ( #10966 )
...
* Upgrade to TS 5.8
* increase build perf CI timeout values
* enable erasableSyntaxOnly
* enable erasableSyntaxOnly
2025-03-06 12:33:11 +01:00
Sébastien Lorber
af272bdefa
fix(docs): fix mdx loader cache invalidation bug on versions changes ( #10934 )
2025-02-14 17:46:41 +01:00
Sébastien Lorber
f9825af43e
refactor: prepare types for React 19 ( #10746 )
2024-12-06 18:03:04 +01:00
Sébastien Lorber
fb7ad2c1bb
fix(mdx-loader): fix md image paths with spaces bug related to transformImage encoding problem ( #10723 )
2024-11-28 16:39:43 +01:00
Balthasar Hofer
bdf55eda22
refactor(mdx-loader): streamline typescript usage for remark plugin types ( #10651 )
2024-11-07 17:42:32 +01:00
Sébastien Lorber
28f6a4907a
chore: upgrade minor dependencies ( #10610 )
2024-10-24 18:44:59 +02:00
Sébastien Lorber
9e473bd080
fix(mdx-loader): fix cross-compiler cache randomly loading mdx with client/server envs ( #10553 )
2024-10-03 23:20:57 +02:00
Sébastien Lorber
5bab0b5432
feat(core, mdx-loader): deduplicate MDX compilation - siteConfig.future.experimental_faster.mdxCrossCompilerCache ( #10479 )
2024-09-06 16:07:09 +02:00
Sébastien Lorber
a47e8dda2d
refactor(mdx-loader): re-export metadata module instead of serializing it ( #10470 )
2024-09-02 17:54:29 +02:00
Sébastien Lorber
a4329d3388
refactor(mdx-loader): read metadata from memory (loaded content) instead of fs ( #10457 )
...
* mdx loader shouldn't read metadata from file system but from memory
* comments
* refactor: apply lint autofix
* apply same for blog
* apply same for blog
* refactor: apply lint autofix
* apply same for pages
2024-08-30 08:02:26 +02:00
Sébastien Lorber
d5885c0c5d
refactor(mdx-loader): refactor mdx-loader, expose loader creation utils ( #10450 )
2024-08-27 13:52:45 +02:00
Sébastien Lorber
97bd815d9a
refactor(core): improve handling of server bundle ( #10429 )
2024-08-21 17:34:18 +02:00
Sébastien Lorber
bb499926a0
refactor(mdx-loader): remove useless usage of mdx loader this.query ( #10422 )
2024-08-19 19:17:33 +02:00
ozaki
23dbf9c0ae
feat(mdx-loader): wrap mdx content title (# Title) in <header> for concistency ( #10335 )
...
Co-authored-by: sebastien <lorber.sebastien@gmail.com >
2024-07-25 15:14:31 +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
1a5fe5c412
fix(mdx-loader): Ignore contentTitle coming after Markdown thematicBreak ( #9999 )
2024-03-29 15:07:53 +01:00
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
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
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
Sébastien Lorber
9868babf75
fix(mdx-loader): improve mdxJsxTextElementToHtml ( #9262 )
2023-08-25 19:05:16 +02:00