Sébastien Lorber
a7afd9cc87
fix(docs, blog): Markdown link resolution does not support hot reload ( #10185 )
2024-05-31 17:47:36 +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
Joshua Chen
c8c93a3854
fix(utils): Markdown link replacement with <> but no spaces ( #9617 )
2023-12-07 11:27:28 +01: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
Aleksandr Vladykin
2b994262b0
fix(utils): handle Markdown links with spaces to route correctly ( #8874 )
2023-04-12 19:14:26 +02:00
Joshua Chen
1dd65eee50
fix(utils): recognize ~~~ as code fences in link replacement ( #7801 )
2022-07-18 19:16:00 +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
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
87592bca03
refactor: ensure all types are using index signature instead of Record ( #6995 )
...
* refactor: ensure all types are using index signature instead of Record
* kick CI
2022-03-25 18:06:30 +08:00
Joshua Chen
2eeb0e46a2
feat(utils): JSDoc for all APIs ( #6980 )
...
* feat(utils): JSDoc for all APIs
* fix tests
2022-03-24 21:34:31 +08:00
Joshua Chen
3a4b9b4c30
refactor: install eslint-plugin-regexp ( #6906 )
...
* refactor: install eslint-plugin-regexp
* simplify
* simplify
* fix
2022-03-13 18:32:17 +08:00
Joshua Chen
4db0c620de
refactor: enable a few TS flags ( #6852 )
...
* refactor: enable a few TS flags
* refactor
* revert to working version
* fix
* better
* change
2022-03-06 13:09:10 +08:00
Joshua Chen
74a645e612
fix(utils): convert Markdown links in reference-style links ( #6617 )
2022-02-05 19:37:20 +08:00
Joshua Chen
1cefb643dd
refactor: enforce named capture groups; clean up regexes ( #6524 )
...
* refactor: enforce named capture groups; clean up regexes
* fixes
* fix
2022-02-01 17:43:15 +08:00
Joshua Chen
aa446b7a9c
chore: clean up ESLint config, enable a few rules ( #6514 )
...
* chore: clean up ESLint config, enable a few rules
* enable max-len for comments
* fix build
2022-01-31 10:31:24 +08:00
Joshua Chen
556f59b193
fix(utils): do not resolve Markdown paths with @site prefix ( #6489 )
2022-01-28 10:10:39 +08:00
Joshua Chen
02186a2b20
fix(utils): Markdown linkification match local paths beginning with http ( #6478 )
2022-01-27 09:26:31 +08:00
Joshua Chen
a79c23bc45
test(utils, mdx-loader, core): improve coverage ( #6303 )
...
* test(utils, mdx-loader, core): improve coverage
* windows...
* fix
2022-01-10 15:00:51 +08:00
Joshua Chen
24d65d9bdd
refactor(utils): reorganize functions; move authors file resolution to utils ( #6229 )
...
* refactor(utils): reorganize functions; move authors file resolution to utils
* More refactor
2021-12-31 11:55:42 +08:00
Joshua Chen
4f2330a824
docs: recommend highlighting with comments than number range ( #6204 )
...
* docs: recommend highlighting with comments than number range
* quick fix
2021-12-28 10:55:24 +08:00
Sébastien Lorber
bb825faf1c
fix: ability to link md files with relative paths when paths contain space ( #5270 )
...
* fix md linkify function when spaces in paths
* fix linkify
2021-08-02 18:02:01 +02:00
Armano
2f53b1a895
refactor(v2): merge linkify function used in blog and docs and align properties ( #4402 )
...
* refactor(v2): merge linkify function used in blog and docs
* refactor(v2): rename docsDirPath and docsDirPathLocalized ad update types
* refactor(v2): rename blogPostsBySource and update types
* improve replaceMarkdownLinks api
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-12 15:11:08 +01:00