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