docs(v2): fix markdown syntax examples in templates

This commit is contained in:
Yangshun Tay 2020-05-22 19:18:29 +08:00
parent 926cbb818b
commit 20fbceb9f1
3 changed files with 12 additions and 24 deletions

View file

@ -49,18 +49,14 @@ Strikethrough uses two tildes. ~~Scratch this.~~
1. Ordered sub-list
1. And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).
To have a line break without a paragraph, you will need to use two trailing spaces. Note that this line is separate, but within the same paragraph. (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
<!-- prettier-ignore -->
* Unordered list can use asterisks
<!-- prettier-ignore -->
* Or minuses
<!-- prettier-ignore -->
- Or minuses
- Or pluses
<!-- prettier-ignore -->
+ Or pluses
---
@ -109,7 +105,7 @@ alert(s);
```python
s = "Python syntax highlighting"
print s
print(s)
```
```