mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
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>
This commit is contained in:
parent
a30daa1530
commit
d2562a4434
12 changed files with 132 additions and 50 deletions
|
@ -9,4 +9,4 @@
|
|||
- [doc1](doc1.md)
|
||||
- [doc2](./doc2.md)
|
||||
|
||||
- [doc-localized](./doc-localized.md)
|
||||
- [doc-localized](/doc-localized.md)
|
||||
|
|
|
@ -75,7 +75,7 @@ const sourceToPermalink: SourceToPermalink = {
|
|||
|
||||
'@site/i18n/fr/docusaurus-plugin-content-docs/current/doc-localized.md':
|
||||
'/fr/doc-localized',
|
||||
'@site/docs/doc-localized': '/doc-localized',
|
||||
'@site/docs/doc-localized.md': '/doc-localized',
|
||||
};
|
||||
|
||||
function createMarkdownOptions(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue