|
| 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 | + |
| 149 | + |
| 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 | +==Marked text== |
0 commit comments