From e6c161e5d7f4427fc669195c3c4e4977ad344e2d Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Sat, 23 May 2020 11:15:12 +0300 Subject: [PATCH] misc: minor improvements for init templates --- .../docusaurus-init/templates/bootstrap/docs/doc1.md | 12 ++++++------ .../docusaurus-init/templates/bootstrap/docs/doc2.md | 2 +- .../docusaurus-init/templates/bootstrap/docs/mdx.md | 2 +- .../docusaurus-init/templates/classic/docs/doc1.md | 12 ++++++------ .../docusaurus-init/templates/classic/docs/doc2.md | 2 +- .../docusaurus-init/templates/classic/docs/mdx.md | 2 +- .../docusaurus-init/templates/facebook/docs/doc1.md | 12 ++++++------ .../docusaurus-init/templates/facebook/docs/doc2.md | 2 +- .../docusaurus-init/templates/facebook/docs/mdx.md | 2 +- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/docusaurus-init/templates/bootstrap/docs/doc1.md b/packages/docusaurus-init/templates/bootstrap/docs/doc1.md index 448cb69a983c..69bc29545b30 100644 --- a/packages/docusaurus-init/templates/bootstrap/docs/doc1.md +++ b/packages/docusaurus-init/templates/bootstrap/docs/doc1.md @@ -57,9 +57,9 @@ Strikethrough uses two tildes. ~~Scratch this.~~ ## Links -[I'm an inline-style link](https://www.google.com) +[I'm an inline-style link](https://www.google.com/) -[I'm an inline-style link with title](https://www.google.com "Google's Homepage") +[I'm an inline-style link with title](https://www.google.com/ "Google's Homepage") [I'm a reference-style link][arbitrary case-insensitive reference text] @@ -69,13 +69,13 @@ Strikethrough uses two tildes. ~~Scratch this.~~ Or leave it empty and use the [link text itself]. -URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or and sometimes example.com (but not on Github, for example). +URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or and sometimes example.com (but not on GitHub, for example). Some text to show that the reference links can follow later. -[arbitrary case-insensitive reference text]: https://www.mozilla.org -[1]: http://slashdot.org -[link text itself]: http://www.reddit.com +[arbitrary case-insensitive reference text]: https://www.mozilla.org/ +[1]: http://slashdot.org/ +[link text itself]: http://www.reddit.com/ --- diff --git a/packages/docusaurus-init/templates/bootstrap/docs/doc2.md b/packages/docusaurus-init/templates/bootstrap/docs/doc2.md index 2462b7f8107f..16cfce40824b 100644 --- a/packages/docusaurus-init/templates/bootstrap/docs/doc2.md +++ b/packages/docusaurus-init/templates/bootstrap/docs/doc2.md @@ -3,4 +3,4 @@ id: doc2 title: Document Number 2 --- -This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com) +This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com/) diff --git a/packages/docusaurus-init/templates/bootstrap/docs/mdx.md b/packages/docusaurus-init/templates/bootstrap/docs/mdx.md index 1462851227ab..f0210fb70d7d 100644 --- a/packages/docusaurus-init/templates/bootstrap/docs/mdx.md +++ b/packages/docusaurus-init/templates/bootstrap/docs/mdx.md @@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( {children} ); + }}>{children} ); Docusaurus green and Facebook blue are my favorite colors. diff --git a/packages/docusaurus-init/templates/classic/docs/doc1.md b/packages/docusaurus-init/templates/classic/docs/doc1.md index 448cb69a983c..69bc29545b30 100644 --- a/packages/docusaurus-init/templates/classic/docs/doc1.md +++ b/packages/docusaurus-init/templates/classic/docs/doc1.md @@ -57,9 +57,9 @@ Strikethrough uses two tildes. ~~Scratch this.~~ ## Links -[I'm an inline-style link](https://www.google.com) +[I'm an inline-style link](https://www.google.com/) -[I'm an inline-style link with title](https://www.google.com "Google's Homepage") +[I'm an inline-style link with title](https://www.google.com/ "Google's Homepage") [I'm a reference-style link][arbitrary case-insensitive reference text] @@ -69,13 +69,13 @@ Strikethrough uses two tildes. ~~Scratch this.~~ Or leave it empty and use the [link text itself]. -URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or and sometimes example.com (but not on Github, for example). +URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or and sometimes example.com (but not on GitHub, for example). Some text to show that the reference links can follow later. -[arbitrary case-insensitive reference text]: https://www.mozilla.org -[1]: http://slashdot.org -[link text itself]: http://www.reddit.com +[arbitrary case-insensitive reference text]: https://www.mozilla.org/ +[1]: http://slashdot.org/ +[link text itself]: http://www.reddit.com/ --- diff --git a/packages/docusaurus-init/templates/classic/docs/doc2.md b/packages/docusaurus-init/templates/classic/docs/doc2.md index 2462b7f8107f..16cfce40824b 100644 --- a/packages/docusaurus-init/templates/classic/docs/doc2.md +++ b/packages/docusaurus-init/templates/classic/docs/doc2.md @@ -3,4 +3,4 @@ id: doc2 title: Document Number 2 --- -This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com) +This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com/) diff --git a/packages/docusaurus-init/templates/classic/docs/mdx.md b/packages/docusaurus-init/templates/classic/docs/mdx.md index 1462851227ab..f0210fb70d7d 100644 --- a/packages/docusaurus-init/templates/classic/docs/mdx.md +++ b/packages/docusaurus-init/templates/classic/docs/mdx.md @@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( {children} ); + }}>{children} ); Docusaurus green and Facebook blue are my favorite colors. diff --git a/packages/docusaurus-init/templates/facebook/docs/doc1.md b/packages/docusaurus-init/templates/facebook/docs/doc1.md index 448cb69a983c..69bc29545b30 100644 --- a/packages/docusaurus-init/templates/facebook/docs/doc1.md +++ b/packages/docusaurus-init/templates/facebook/docs/doc1.md @@ -57,9 +57,9 @@ Strikethrough uses two tildes. ~~Scratch this.~~ ## Links -[I'm an inline-style link](https://www.google.com) +[I'm an inline-style link](https://www.google.com/) -[I'm an inline-style link with title](https://www.google.com "Google's Homepage") +[I'm an inline-style link with title](https://www.google.com/ "Google's Homepage") [I'm a reference-style link][arbitrary case-insensitive reference text] @@ -69,13 +69,13 @@ Strikethrough uses two tildes. ~~Scratch this.~~ Or leave it empty and use the [link text itself]. -URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or and sometimes example.com (but not on Github, for example). +URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or and sometimes example.com (but not on GitHub, for example). Some text to show that the reference links can follow later. -[arbitrary case-insensitive reference text]: https://www.mozilla.org -[1]: http://slashdot.org -[link text itself]: http://www.reddit.com +[arbitrary case-insensitive reference text]: https://www.mozilla.org/ +[1]: http://slashdot.org/ +[link text itself]: http://www.reddit.com/ --- diff --git a/packages/docusaurus-init/templates/facebook/docs/doc2.md b/packages/docusaurus-init/templates/facebook/docs/doc2.md index 2462b7f8107f..16cfce40824b 100644 --- a/packages/docusaurus-init/templates/facebook/docs/doc2.md +++ b/packages/docusaurus-init/templates/facebook/docs/doc2.md @@ -3,4 +3,4 @@ id: doc2 title: Document Number 2 --- -This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com) +This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com/) diff --git a/packages/docusaurus-init/templates/facebook/docs/mdx.md b/packages/docusaurus-init/templates/facebook/docs/mdx.md index 1462851227ab..f0210fb70d7d 100644 --- a/packages/docusaurus-init/templates/facebook/docs/mdx.md +++ b/packages/docusaurus-init/templates/facebook/docs/mdx.md @@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( {children} ); + }}>{children} ); Docusaurus green and Facebook blue are my favorite colors.