Skip to content

Commit a603be1

Browse files
committed
update example.md
1 parent 99e8864 commit a603be1

1 file changed

Lines changed: 29 additions & 47 deletions

File tree

example/example.md

Lines changed: 29 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@
1212

1313
###### h6 Heading
1414

15-
1615
## Horizontal Rules
1716

18-
___
19-
2017
---
2118

22-
***
19+
---
2320

21+
---
2422

2523
## Typographic replacements
2624

@@ -34,50 +32,46 @@ test.. test... test..... test?..... test!....
3432

3533
"Smartypants, double quotes" and 'single quotes'
3634

37-
3835
## Emphasis
3936

4037
**This is bold text**
4138

42-
__This is bold text__
39+
**This is bold text**
4340

44-
*This is italic text*
41+
_This is italic text_
4542

4643
_This is italic text_
4744

4845
~~Strikethrough~~
4946

50-
5147
## Blockquotes
5248

53-
5449
> Blockquotes can also be nested...
55-
>> ...by using additional greater-than signs right next to each other...
56-
57-
>>> ...or with spaces between arrows.
50+
>
51+
> > ...by using additional greater-than signs right next to each other...
5852
53+
> > > ...or with spaces between arrows.
5954
6055
## Lists
6156

6257
Unordered
6358

64-
+ Create a list by starting a line with `+`, `-`, or `*`
65-
+ Sub-lists are made by indenting 2 spaces:
59+
- Create a list by starting a line with `+`, `-`, or `*`
60+
- Sub-lists are made by indenting 2 spaces:
6661
- Marker character change forces new list start:
67-
* Ac tristique libero volutpat at
68-
+ Facilisis in pretium nisl aliquet
62+
- Ac tristique libero volutpat at
63+
* Facilisis in pretium nisl aliquet
6964
- Nulla volutpat aliquam velit
70-
+ Very easy!
65+
- Very easy!
7166

7267
Ordered
7368

7469
1. Lorem ipsum dolor sit amet
7570
2. Consectetur adipiscing elit
7671
3. Integer molestie lorem at massa
7772

78-
79-
1. You can use sequential numbers...
80-
1. ...or keep all the numbers as `1.`
73+
4. You can use sequential numbers...
74+
5. ...or keep all the numbers as `1.`
8175

8276
Start numbering with offset:
8377

@@ -87,7 +81,6 @@ Start numbering with offset:
8781
- [ ] Todo 1
8882
- [x] Todo 2
8983

90-
9184
## Code
9285

9386
Inline `code`
@@ -99,7 +92,6 @@ Indented code
9992
line 2 of code
10093
line 3 of code
10194

102-
10395
Block code "fences"
10496

10597
```
@@ -110,10 +102,10 @@ Syntax highlighting
110102

111103
```js
112104
var foo = function (bar) {
113-
return bar++;
114-
};
105+
return bar++
106+
}
115107

116-
console.log(foo(5));
108+
console.log(foo(5))
117109
```
118110

119111
## Tables
@@ -132,36 +124,32 @@ Right aligned columns
132124
| engine | engine to be used for processing templates. Handlebars is the default. |
133125
| ext | extension to be used for dest files. |
134126

135-
136127
## Links
137128

138129
[link text](http://dev.nodeca.com)
139130

140-
[link with title](http://nodeca.github.io/pica/demo/ "title text!")
131+
[link with title](http://nodeca.github.io/pica/demo/ 'title text!')
141132

142133
Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
143134

144-
145135
## Images
146136

147137
![Minion](https://octodex.github.com/images/minion.png)
148-
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
138+
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg 'The Stormtroopocat')
149139

150140
Like links, Images also have a footnote style syntax
151141

152142
![Alt text][id]
153143

154144
With a reference later in the document defining the URL location:
155145

156-
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
157-
146+
[id]: https://octodex.github.com/images/dojocat.jpg 'The Dojocat'
158147

159148
## Plugins
160149

161150
The killer feature of `markdown-it` is very effective support of
162151
[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).
163152

164-
165153
### [Emojies](https://github.com/markdown-it/markdown-it-emoji)
166154

167155
Classic markup: :wink: :cry: :laughing: :yum:
@@ -218,7 +206,6 @@ $$
218206
| ψ | \psi | $\psi$ | $\Psi$ |
219207
| ω | \omega | $\omega$ | $\Omega$ |
220208

221-
222209
### [MerMaid](https://github.com/md-reader/markdown-it-mermaid#readme)
223210

224211
```mermaid
@@ -249,17 +236,14 @@ sequenceDiagram
249236
- 19^th^
250237
- H~2~O
251238

252-
253-
### [\<ins>](https://github.com/markdown-it/markdown-it-ins)
239+
### [Inserted](https://github.com/markdown-it/markdown-it-ins)
254240

255241
++Inserted text++
256242

257-
258-
### [\<mark>](https://github.com/markdown-it/markdown-it-mark)
243+
### [Mark](https://github.com/markdown-it/markdown-it-mark)
259244

260245
==Marked text==
261246

262-
263247
### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)
264248

265249
Footnote 1 link[^first].
@@ -276,17 +260,16 @@ Duplicated footnote reference[^second].
276260

277261
[^second]: Footnote text.
278262

279-
280263
### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)
281264

282265
Term 1
283266

284-
: Definition 1
267+
: Definition 1
285268
with lazy continuation.
286269

287270
Term 2 with _inline markup_
288271

289-
: Definition 2
272+
: Definition 2
290273

291274
{ some code, part of Definition 2 }
292275

@@ -295,20 +278,19 @@ Term 2 with _inline markup_
295278
_Compact style:_
296279

297280
Term 1
298-
~ Definition 1
281+
~ Definition 1
299282

300283
Term 2
301-
~ Definition 2a
302-
~ Definition 2b
303-
284+
~ Definition 2a
285+
~ Definition 2b
304286

305287
### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)
306288

307289
This is HTML abbreviation example.
308290

309291
It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
310292

311-
*[HTML]: Hyper Text Markup Language
293+
\*[HTML]: Hyper Text Markup Language
312294

313295
### [Custom containers](https://github.com/markdown-it/markdown-it-container)
314296

@@ -317,5 +299,5 @@ _Here be dragons._
317299
:::
318300

319301
::: tips
320-
*Dragon is dangerous.*
302+
_Dragon is dangerous._
321303
:::

0 commit comments

Comments
 (0)