mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-08 13:52:36 +02:00
misc: minor improvements for init templates (#2802)
This commit is contained in:
parent
4cc36a535e
commit
ca90b42991
9 changed files with 24 additions and 24 deletions
|
@ -57,9 +57,9 @@ Strikethrough uses two tildes. ~~Scratch this.~~
|
||||||
|
|
||||||
## Links
|
## 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]
|
[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].
|
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 <http://www.example.com> 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 <http://www.example.com/> and sometimes example.com (but not on GitHub, for example).
|
||||||
|
|
||||||
Some text to show that the reference links can follow later.
|
Some text to show that the reference links can follow later.
|
||||||
|
|
||||||
[arbitrary case-insensitive reference text]: https://www.mozilla.org
|
[arbitrary case-insensitive reference text]: https://www.mozilla.org/
|
||||||
[1]: http://slashdot.org
|
[1]: http://slashdot.org/
|
||||||
[link text itself]: http://www.reddit.com
|
[link text itself]: http://www.reddit.com/
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@ id: doc2
|
||||||
title: Document Number 2
|
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/)
|
||||||
|
|
|
@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( <span style={{
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
color: '#fff',
|
color: '#fff',
|
||||||
padding: '0.2rem',
|
padding: '0.2rem',
|
||||||
}}> {children} </span> );
|
}}>{children}</span> );
|
||||||
|
|
||||||
<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.
|
<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.
|
||||||
|
|
||||||
|
|
|
@ -57,9 +57,9 @@ Strikethrough uses two tildes. ~~Scratch this.~~
|
||||||
|
|
||||||
## Links
|
## 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]
|
[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].
|
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 <http://www.example.com> 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 <http://www.example.com/> and sometimes example.com (but not on GitHub, for example).
|
||||||
|
|
||||||
Some text to show that the reference links can follow later.
|
Some text to show that the reference links can follow later.
|
||||||
|
|
||||||
[arbitrary case-insensitive reference text]: https://www.mozilla.org
|
[arbitrary case-insensitive reference text]: https://www.mozilla.org/
|
||||||
[1]: http://slashdot.org
|
[1]: http://slashdot.org/
|
||||||
[link text itself]: http://www.reddit.com
|
[link text itself]: http://www.reddit.com/
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@ id: doc2
|
||||||
title: Document Number 2
|
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/)
|
||||||
|
|
|
@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( <span style={{
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
color: '#fff',
|
color: '#fff',
|
||||||
padding: '0.2rem',
|
padding: '0.2rem',
|
||||||
}}> {children} </span> );
|
}}>{children}</span> );
|
||||||
|
|
||||||
<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.
|
<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.
|
||||||
|
|
||||||
|
|
|
@ -57,9 +57,9 @@ Strikethrough uses two tildes. ~~Scratch this.~~
|
||||||
|
|
||||||
## Links
|
## 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]
|
[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].
|
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 <http://www.example.com> 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 <http://www.example.com/> and sometimes example.com (but not on GitHub, for example).
|
||||||
|
|
||||||
Some text to show that the reference links can follow later.
|
Some text to show that the reference links can follow later.
|
||||||
|
|
||||||
[arbitrary case-insensitive reference text]: https://www.mozilla.org
|
[arbitrary case-insensitive reference text]: https://www.mozilla.org/
|
||||||
[1]: http://slashdot.org
|
[1]: http://slashdot.org/
|
||||||
[link text itself]: http://www.reddit.com
|
[link text itself]: http://www.reddit.com/
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@ id: doc2
|
||||||
title: Document Number 2
|
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/)
|
||||||
|
|
|
@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( <span style={{
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
color: '#fff',
|
color: '#fff',
|
||||||
padding: '0.2rem',
|
padding: '0.2rem',
|
||||||
}}> {children} </span> );
|
}}>{children}</span> );
|
||||||
|
|
||||||
<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.
|
<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue