Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: minor improvements for init templates #2802

Merged
merged 1 commit into from
May 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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