3 ~~This text should be parsed as _strikethroughed_.~~
5 ~~There may be __bold__ or _italic_ text inside strikethroughed text.~~
7 ~~There may be a keyboard shortcut like <kbd>Enter</kbd> inside strikethroughed text.~~
9 __There may be ~~strikethroughed text~~ inside bold text.__
10 _There may be ~~strikethroughed text~~ inside italic text._
12 ~~ If there is a space in the beginning or end, it won't work as per the [GFM][GFM] docs ~~
14 ~~Strikethrough can be applied to
15 multiple lines. Just keep in mind
16 not to put any space in the beginning or end.~~
20 The word `complicated` must be neither bold nor italic below:
22 perform_complicated_task
23 perform__complicated__task
25 But the first part below is italic and bold respectively:
27 _perform_complicated_task
28 __perform__complicated__task
32 Keyboard shortcuts below should be highlighted:
36 A keyboard shortcut <kbd>Enter</kbd> can be in paragraph.
38 * A keyboard shortcut <kbd>Enter</kbd> can be in list.
40 _A keyboard shortcut <kbd>Enter</kbd> can be in italic._
41 __A keyboard shortcut <kbd>Enter</kbd> can be in bold.__
43 ~~A keyboard shortcut <kbd>Enter</kbd> can be in deleted text.~~
45 <p>A keyboard shortcut <kbd>Enter</kbd> can be in HTML.</p>
48 A keyboard shortcut <kbd>Enter</kbd> can be in block level tags.
53 ## In / Near List Items
55 Below fenced code blocks _should_ be highlighted.
62 for (var i = 0; i < 10; i++) {
70 for (var i = 0; i < 10; i++) {
77 Below are _not_ valid fenced code blocks according to the [GFM docs][GFM]. It says there must be a blank line before the code block. However, GitHub highlights them. So, they _should_ be highlighted.
83 for (var i = 0; i < 10; i++) {
90 for (var i = 0; i < 10; i++) {
95 ## In / Near Paragraphs
97 Below is _not_ a _fenced_ code block, just a normal code block.
104 for (var i = 0; i < 10; i++) {
111 Below 2 blocks are fenced code blocks. They _should_ be highlighted.
118 for (var i = 0; i < 10; i++) {
125 for (var i = 0; i < 10; i++) {
132 Below is not any type of code block. It _should not_ be highlighted.
138 for (var i = 0; i < 10; i++) {
143 [GFM]: https://help.github.com/articles/github-flavored-markdown