misc: minor improvements for init templates (#2802)

This commit is contained in:
Alexey Pyltsyn 2020-05-24 14:47:04 +03:00 committed by GitHub
parent 4cc36a535e
commit ca90b42991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 24 deletions

View file

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

View file

@ -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/)

View file

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