gistfile1.txt
· 4.5 KiB · Text
Raw
---
__Advertisement :)__
- __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image
resize in browser.
- __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly
i18n with plurals support and easy syntax.
You will like those projects!
---
# h1 Heading 8-)
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
## Horizontal Rules
___
---
***
## Typographic replacements
Enable typographer option to see result.
(c) (C) (r) (R) (tm) (TM) (p) (P) +-
test.. test... test..... test?..... test!....
!!!!!! ???? ,, -- ---
"Smartypants, double quotes" and 'single quotes'
## Emphasis
**This is bold text**
__This is bold text__
*This is italic text*
_This is italic text_
~~Strikethrough~~
## Blockquotes
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.
## Lists
Unordered
+ Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
+ Very easy!
Ordered
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa
1. You can use sequential numbers...
1. ...or keep all the numbers as `1.`
Start numbering with offset:
57. foo
1. bar
## Code
Inline `code`
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
Block code "fences"
```
Sample text here...
```
Syntax highlighting
``` js
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
```
## Tables
| Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
Right aligned columns
| Option | Description |
| ------:| -----------:|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
## Links
[link text](http://dev.nodeca.com)
[link with title](http://nodeca.github.io/pica/demo/ "title text!")
Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
## Images
![Minion](https://octodex.github.com/images/minion.png)
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
Like links, Images also have a footnote style syntax
![Alt text][id]
With a reference later in the document defining the URL location:
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
## Plugins
The killer feature of `markdown-it` is very effective support of
[syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin).
### [Emojies](https://github.com/markdown-it/markdown-it-emoji)
> Classic markup: :wink: :cry: :laughing: :yum:
>
> Shortcuts (emoticons): :-) :-( 8-) ;)
see [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji.
### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)
- 19^th^
- H~2~O
### [\<ins>](https://github.com/markdown-it/markdown-it-ins)
++Inserted text++
### [\<mark>](https://github.com/markdown-it/markdown-it-mark)
==Marked text==
### [Footnotes](https://github.com/markdown-it/markdown-it-footnote)
Footnote 1 link[^first].
Footnote 2 link[^second].
Inline footnote^[Text of inline footnote] definition.
Duplicated footnote reference[^second].
[^first]: Footnote **can have markup**
and multiple paragraphs.
[^second]: Footnote text.
### [Definition lists](https://github.com/markdown-it/markdown-it-deflist)
Term 1
: Definition 1
with lazy continuation.
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
_Compact style:_
Term 1
~ Definition 1
Term 2
~ Definition 2a
~ Definition 2b
### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr)
This is HTML abbreviation example.
It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
*[HTML]: Hyper Text Markup Language
### [Custom containers](https://github.com/markdown-it/markdown-it-container)
::: warning
*here be dragons*
:::
1 | --- |
2 | __Advertisement :)__ |
3 | |
4 | - __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image |
5 | resize in browser. |
6 | - __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly |
7 | i18n with plurals support and easy syntax. |
8 | |
9 | You will like those projects! |
10 | |
11 | --- |
12 | |
13 | # h1 Heading 8-) |
14 | ## h2 Heading |
15 | ### h3 Heading |
16 | #### h4 Heading |
17 | ##### h5 Heading |
18 | ###### h6 Heading |
19 | |
20 | |
21 | ## Horizontal Rules |
22 | |
23 | ___ |
24 | |
25 | --- |
26 | |
27 | *** |
28 | |
29 | |
30 | ## Typographic replacements |
31 | |
32 | Enable typographer option to see result. |
33 | |
34 | (c) (C) (r) (R) (tm) (TM) (p) (P) +- |
35 | |
36 | test.. test... test..... test?..... test!.... |
37 | |
38 | !!!!!! ???? ,, -- --- |
39 | |
40 | "Smartypants, double quotes" and 'single quotes' |
41 | |
42 | |
43 | ## Emphasis |
44 | |
45 | **This is bold text** |
46 | |
47 | __This is bold text__ |
48 | |
49 | *This is italic text* |
50 | |
51 | _This is italic text_ |
52 | |
53 | ~~Strikethrough~~ |
54 | |
55 | |
56 | ## Blockquotes |
57 | |
58 | |
59 | > Blockquotes can also be nested... |
60 | >> ...by using additional greater-than signs right next to each other... |
61 | > > > ...or with spaces between arrows. |
62 | |
63 | |
64 | ## Lists |
65 | |
66 | Unordered |
67 | |
68 | + Create a list by starting a line with `+`, `-`, or `*` |
69 | + Sub-lists are made by indenting 2 spaces: |
70 | - Marker character change forces new list start: |
71 | * Ac tristique libero volutpat at |
72 | + Facilisis in pretium nisl aliquet |
73 | - Nulla volutpat aliquam velit |
74 | + Very easy! |
75 | |
76 | Ordered |
77 | |
78 | 1. Lorem ipsum dolor sit amet |
79 | 2. Consectetur adipiscing elit |
80 | 3. Integer molestie lorem at massa |
81 | |
82 | |
83 | 1. You can use sequential numbers... |
84 | 1. ...or keep all the numbers as `1.` |
85 | |
86 | Start numbering with offset: |
87 | |
88 | 57. foo |
89 | 1. bar |
90 | |
91 | |
92 | ## Code |
93 | |
94 | Inline `code` |
95 | |
96 | Indented code |
97 | |
98 | // Some comments |
99 | line 1 of code |
100 | line 2 of code |
101 | line 3 of code |
102 | |
103 | |
104 | Block code "fences" |
105 | |
106 | ``` |
107 | Sample text here... |
108 | ``` |
109 | |
110 | Syntax highlighting |
111 | |
112 | ``` js |
113 | var foo = function (bar) { |
114 | return bar++; |
115 | }; |
116 | |
117 | console.log(foo(5)); |
118 | ``` |
119 | |
120 | ## Tables |
121 | |
122 | | Option | Description | |
123 | | ------ | ----------- | |
124 | | data | path to data files to supply the data that will be passed into templates. | |
125 | | engine | engine to be used for processing templates. Handlebars is the default. | |
126 | | ext | extension to be used for dest files. | |
127 | |
128 | Right aligned columns |
129 | |
130 | | Option | Description | |
131 | | ------:| -----------:| |
132 | | data | path to data files to supply the data that will be passed into templates. | |
133 | | engine | engine to be used for processing templates. Handlebars is the default. | |
134 | | ext | extension to be used for dest files. | |
135 | |
136 | |
137 | ## Links |
138 | |
139 | [link text](http://dev.nodeca.com) |
140 | |
141 | [link with title](http://nodeca.github.io/pica/demo/ "title text!") |
142 | |
143 | Autoconverted link https://github.com/nodeca/pica (enable linkify to see) |
144 | |
145 | |
146 | ## Images |
147 | |
148 | ![Minion](https://octodex.github.com/images/minion.png) |
149 | ![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") |
150 | |
151 | Like links, Images also have a footnote style syntax |
152 | |
153 | ![Alt text][id] |
154 | |
155 | With a reference later in the document defining the URL location: |
156 | |
157 | [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" |
158 | |
159 | |
160 | ## Plugins |
161 | |
162 | The killer feature of `markdown-it` is very effective support of |
163 | [syntax plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin). |
164 | |
165 | |
166 | ### [Emojies](https://github.com/markdown-it/markdown-it-emoji) |
167 | |
168 | > Classic markup: :wink: :cry: :laughing: :yum: |
169 | > |
170 | > Shortcuts (emoticons): :-) :-( 8-) ;) |
171 | |
172 | see [how to change output](https://github.com/markdown-it/markdown-it-emoji#change-output) with twemoji. |
173 | |
174 | |
175 | ### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup) |
176 | |
177 | - 19^th^ |
178 | - H~2~O |
179 | |
180 | |
181 | ### [\<ins>](https://github.com/markdown-it/markdown-it-ins) |
182 | |
183 | ++Inserted text++ |
184 | |
185 | |
186 | ### [\<mark>](https://github.com/markdown-it/markdown-it-mark) |
187 | |
188 | ==Marked text== |
189 | |
190 | |
191 | ### [Footnotes](https://github.com/markdown-it/markdown-it-footnote) |
192 | |
193 | Footnote 1 link[^first]. |
194 | |
195 | Footnote 2 link[^second]. |
196 | |
197 | Inline footnote^[Text of inline footnote] definition. |
198 | |
199 | Duplicated footnote reference[^second]. |
200 | |
201 | [^first]: Footnote **can have markup** |
202 | |
203 | and multiple paragraphs. |
204 | |
205 | [^second]: Footnote text. |
206 | |
207 | |
208 | ### [Definition lists](https://github.com/markdown-it/markdown-it-deflist) |
209 | |
210 | Term 1 |
211 | |
212 | : Definition 1 |
213 | with lazy continuation. |
214 | |
215 | Term 2 with *inline markup* |
216 | |
217 | : Definition 2 |
218 | |
219 | { some code, part of Definition 2 } |
220 | |
221 | Third paragraph of definition 2. |
222 | |
223 | _Compact style:_ |
224 | |
225 | Term 1 |
226 | ~ Definition 1 |
227 | |
228 | Term 2 |
229 | ~ Definition 2a |
230 | ~ Definition 2b |
231 | |
232 | |
233 | ### [Abbreviations](https://github.com/markdown-it/markdown-it-abbr) |
234 | |
235 | This is HTML abbreviation example. |
236 | |
237 | It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. |
238 | |
239 | *[HTML]: Hyper Text Markup Language |
240 | |
241 | ### [Custom containers](https://github.com/markdown-it/markdown-it-container) |
242 | |
243 | ::: warning |
244 | *here be dragons* |
245 | ::: |
246 |