Skip to content

Commit

Permalink
misc: minor improvements for init templates (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored May 24, 2020
1 parent 4cc36a5 commit ca90b42
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions packages/docusaurus-init/templates/bootstrap/docs/doc1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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 <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.

[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/

---

Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init/templates/bootstrap/docs/doc2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion packages/docusaurus-init/templates/bootstrap/docs/mdx.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( <span style={{
borderRadius: '2px',
color: '#fff',
padding: '0.2rem',
}}> {children} </span> );
}}>{children}</span> );

<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.

Expand Down
12 changes: 6 additions & 6 deletions packages/docusaurus-init/templates/classic/docs/doc1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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 <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.

[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/

---

Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init/templates/classic/docs/doc2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion packages/docusaurus-init/templates/classic/docs/mdx.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( <span style={{
borderRadius: '2px',
color: '#fff',
padding: '0.2rem',
}}> {children} </span> );
}}>{children}</span> );

<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.

Expand Down
12 changes: 6 additions & 6 deletions packages/docusaurus-init/templates/facebook/docs/doc1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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 <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.

[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/

---

Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-init/templates/facebook/docs/doc2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion packages/docusaurus-init/templates/facebook/docs/mdx.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Highlight = ({children, color}) => ( <span style={{
borderRadius: '2px',
color: '#fff',
padding: '0.2rem',
}}> {children} </span> );
}}>{children}</span> );

<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.

Expand Down

0 comments on commit ca90b42

Please sign in to comment.