Commit graph

145 commits

Author SHA1 Message Date
Sébastien Lorber
95e2d469e3
chore: Rename Twitter links/labels to X (#10509) 2024-09-19 11:30:57 +02:00
ozaki
f356e29938
feat(blog): authors page (#10216)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-08-01 17:30:49 +02:00
Sébastien Lorber
3a0a2a74b8
fix(markdown): mdx-code-block should support intentation (#10240) 2024-06-20 19:43:32 +02:00
Sébastien Lorber
a7afd9cc87
fix(docs, blog): Markdown link resolution does not support hot reload (#10185) 2024-05-31 17:47:36 +02:00
ozaki
0eb7b64aac
feat(docs, blog): add support for tags.yml, predefined list of tags (#10137)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-05-31 17:32:08 +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
Sébastien Lorber
17f3e02a42
feat(core): hash router option - browse site offline (experimental) (#9859) 2024-05-19 15:44:58 +02:00
Sébastien Lorber
29b7a4ddbb
fix(core): codegen should generate unique route prop filenames (#10131) 2024-05-10 18:17:21 +02:00
ozaki
821247142e
refactor(utils): remove duplicated function (#9972)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-03-29 14:45:30 +01:00
Sébastien Lorber
9017fb9b1d
feat(sitemap): add support for "lastmod" (#9954) 2024-03-20 11:47:44 +01:00
Sébastien Lorber
465cf4d82c
refactor(docs,blog): last update timestamp should be in milliseconds instead of seconds (#9963) 2024-03-19 09:51:27 +01:00
ozaki
c745021b01
feat(blog): add LastUpdateAuthor & LastUpdateTime (#9912)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-03-15 12:50:06 +01:00
Sébastien Lorber
2152572a3b
fix(mdx-loader): mdx-code-block should support CRLF (#9897) 2024-02-29 13:20:03 +01:00
Sébastien Lorber
f159bb2472
perf: optimize getFileCommitDate, make it async (#9890) 2024-02-24 23:32:18 +01:00
eitsupi
0266549a51
fix(mdx-loader): allow spaces before mdx-code-block info string (#9776) 2024-01-24 14:12:54 +01:00
Sébastien Lorber
4388267c26
fix(core): various broken anchor link fixes (#9732) 2024-01-12 16:09:45 +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
affca7a9a2
feat: siteConfig.markdown.parseFrontMatter hook (#9624) 2023-12-16 02:50:26 +01:00
Joshua Chen
c8c93a3854
fix(utils): Markdown link replacement with <> but no spaces (#9617) 2023-12-07 11:27:28 +01:00
Sébastien Lorber
7c32fc341f
fix: add v2 retrocompatible support for quoted admonitions (#9570) 2023-11-21 20:49:34 +01:00
Sébastien Lorber
b464545629
fix: v3 admonitions should support v2 title syntax for nested admonitions (#9535)
Fix admonition title mdx v1 compat option when admonition is nested
2023-11-11 22:23:27 +01:00
Chongyi Zheng
45f1a669b5
feat(core): support TypeScript + ESM configuration (#9317)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-10-14 02:46:03 +02:00
Joshua Chen
76f920359b
fix(utils): better handling of code blocks in link replacement (#9046) 2023-06-08 12:16:56 +02:00
Joshua Chen
9e0b62fe6c
fix(utils): make Markdown link replacement much more rigorous (#8927) 2023-04-27 17:57:11 +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
Aleksandr Vladykin
2b994262b0
fix(utils): handle Markdown links with spaces to route correctly (#8874) 2023-04-12 19:14:26 +02:00
Sébastien Castiel
2f02beebe2
fix(utils): handle CRLF when parsing MDX imports (#8606) 2023-02-02 09:48:28 +01:00
Josh Goldberg
ac81765024
fix(utils): allow partially backticked markdown h1 contentTitles (#8314) 2022-11-17 11:38:10 +01:00
Jody Heavener
683ba3d2a0
feat(docs,blog,pages): add support for "unlisted" front matter - hide md content in production (#8004)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-11-03 14:31:41 +01:00
Johan Fagerberg
6c8af03f51
fix(utils): remove non-ASCII limitation for path normalization (#8137) 2022-10-07 13:35:12 +02:00
Pranav Joglekar
efbd0cbd40
fix(content-blog): make RSS feed generation work with slugs with .html extension (#8158)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-06 16:19:05 +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
Joshua Chen
40827c6c72
fix(utils): always match exclusion root dirs as complete folder paths (#7864)
* fix(utils): always match exclusion root dirs as complete folder paths

* fix

* fix?

* fix for real
2022-08-01 15:23:01 +08:00
Joshua Chen
1dd65eee50
fix(utils): recognize ~~~ as code fences in link replacement (#7801) 2022-07-18 19:16:00 +08:00
Joshua Chen
bfba6a8b02
refactor: remove "error" reporting level, move reportMessage to logger (#7642) 2022-06-17 14:51:00 +02:00
Joshua Chen
1b9bec1042
feat: allow customizing localization path of each locale (#7624) 2022-06-17 11:07:35 +02:00
Joshua Chen
89e146f596
fix(utils): allow any non-boundary characters in Markdown heading ID (#7604) 2022-06-16 12:32:42 +02:00
Joshua Chen
abe5450526
feat(core): allow customizing the i18n directory path (#7386)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-02 17:37:14 +02:00
Sébastien Lorber
dbd161d67c
fix(create-docusaurus): potential security issue with command injection (#7507) 2022-05-27 10:41:15 +02:00
Joshua Chen
e2e40b8f5f
test: fix some type errors in test files (#7486) 2022-05-25 11:46:10 +08:00
Joshua Chen
624735bd92
refactor: fix more type-aware linting errors (#7479) 2022-05-24 19:19:24 +08:00
Joshua Chen
6e62bba30f
fix(utils): fix Markdown link replacement when link text is same as href (#7464) 2022-05-22 19:13:28 +08:00
Joshua Chen
ad888b7fae
fix(utils): avoid replacing Markdown links missing the directly next link (#7458) 2022-05-21 13:07:31 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule (#7418) 2022-05-14 23:39:50 +08:00
Joshua Chen
d2562a4434
refactor: normalize Markdown linkification behavior, elaborate in documentation (#7248)
* refactor: normalize Markdown linkification behavior, elaborate in documentation

* fix broken links

* allow links to be relative to site root

* fix test

* minor doc update

* Update website/docs/guides/markdown-features/markdown-features-links.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-04-29 11:36:39 +08:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments (#7188)
* refactor: capitalize comments

* revert...
2022-04-17 16:39:11 +08:00
Joshua Chen
f219a2ac90
test: improve test coverage (#7181) 2022-04-16 16:35:40 +08:00
Joshua Chen
9145ae88cc
chore: disable string escaping in snapshots (#7131) 2022-04-08 11:23:19 +08:00
Joshua Chen
e610a4ac00
test: improve test coverage (#7113) 2022-04-05 14:09:19 +08:00
Joshua Chen
77662260f8
refactor(core): refactor routes generation logic (#7054)
* refactor(core): refactor routes generation logic

* fixes
2022-03-29 16:37:29 +08:00