Refresh font-lock rather than recomputing from defaults
[markdown-mode.git] / tests / Markdown.md
blob09ffd91062186b052f1f1045f91ab8e95022dde4
1 Source: https://github.com/textmate/markdown.tmbundle/blob/master/Tests/test-minimal.markdown
3 Inline styles
4 ===============
6 _italic_
8 _italic one_ not italic _italic two_
10 _italic\__
12 _italic \__
14 stuff * not italic*
16 *italic__*
18 _all _ italic_
20 _italic
21 end italic_
23 \\\\_italic\\_
25 \\\\_italic\\\_\\\\_
27 \\\\_italic\\_
29 \_ not italic _
31 _not italic _
33 \\\\_not italic\_
35 _not italic \_
37 \\\_not italic\\_
39 _not italic
41 not end italic_
43 __bold__
45 **bold\***
47 ___bold_and_italic___
49 ***bold_and_italic***
51 `raw more`
53 ``dobule ` raw``
55 `raw \` more`
57 Headings
58 ================
60 heading 2
61 ----------
63 ## heading 2
65 ### heading 3
67 ###### heading 6
69 Horizontal lines
70 =================
72 ***
74 * * *
76 ___
78 __ __ __
80 - - - 
82 ----------------
85 Block formatting
86 ================
88 Lists
89 ----------------
91  * This *is a list!*
92  * This is another list item.
93    But this one spans *two* lines. 
94  * Another list item with __inline__ formatting
95  * This one is tricky  
96  * *This is a list*
98    Because this should still be a list item.
100 1. This is a list item too
101 2. This list is numbered
103 1986\. This shouldn't be a list.
105 Code block
106 ---------------
108         asdfsdafasdf
109         This is code.
110         Isn't it pretty!
112 Quotes
113 ---------------
115 > Here is a quote block
116 This quote continues on.  Line breaking is OK in markdown
117 > Here it is again
118 > Lah-di-dah
119 > I should really match headings in here too:
120 > ## This is a heading in a block quote