rpeg-multimarkdown2 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. data/LICENSE +96 -0
  2. data/README.markdown +52 -0
  3. data/Rakefile +167 -0
  4. data/bin/rpeg-multimarkdown2 +128 -0
  5. data/ext/extconf.h +3 -0
  6. data/ext/extconf.rb +15 -0
  7. data/ext/markdown.c +102 -0
  8. data/ext/markdown_lib.c +265 -0
  9. data/ext/markdown_lib.h +33 -0
  10. data/ext/markdown_output.c +2832 -0
  11. data/ext/markdown_parser.c +9091 -0
  12. data/ext/markdown_peg.h +144 -0
  13. data/ext/odf.c +183 -0
  14. data/ext/odf.h +3 -0
  15. data/ext/parsing_functions.c +199 -0
  16. data/ext/utility_functions.c +566 -0
  17. data/lib/multimarkdown2.rb +1 -0
  18. data/lib/peg_multimarkdown.rb +74 -0
  19. data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.html +76 -0
  20. data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.tex +64 -0
  21. data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.text +38 -0
  22. data/test/MultiMarkdownTest/CompatibilityTests/Automatic Labels.html +35 -0
  23. data/test/MultiMarkdownTest/CompatibilityTests/Automatic Labels.text +45 -0
  24. data/test/MultiMarkdownTest/CompatibilityTests/Base Header Level.html +14 -0
  25. data/test/MultiMarkdownTest/CompatibilityTests/Base Header Level.text +16 -0
  26. data/test/MultiMarkdownTest/CompatibilityTests/BibTeX.html +9 -0
  27. data/test/MultiMarkdownTest/CompatibilityTests/BibTeX.text +10 -0
  28. data/test/MultiMarkdownTest/CompatibilityTests/Citations.html +40 -0
  29. data/test/MultiMarkdownTest/CompatibilityTests/Citations.text +42 -0
  30. data/test/MultiMarkdownTest/CompatibilityTests/Definition Lists.html +40 -0
  31. data/test/MultiMarkdownTest/CompatibilityTests/Definition Lists.text +39 -0
  32. data/test/MultiMarkdownTest/CompatibilityTests/Dutch.html +17 -0
  33. data/test/MultiMarkdownTest/CompatibilityTests/Dutch.text +17 -0
  34. data/test/MultiMarkdownTest/CompatibilityTests/Email.html +40 -0
  35. data/test/MultiMarkdownTest/CompatibilityTests/Email.text +31 -0
  36. data/test/MultiMarkdownTest/CompatibilityTests/English.html +17 -0
  37. data/test/MultiMarkdownTest/CompatibilityTests/English.text +17 -0
  38. data/test/MultiMarkdownTest/CompatibilityTests/Errors.html +9 -0
  39. data/test/MultiMarkdownTest/CompatibilityTests/Errors.text +11 -0
  40. data/test/MultiMarkdownTest/CompatibilityTests/Footnotes.html +23 -0
  41. data/test/MultiMarkdownTest/CompatibilityTests/Footnotes.text +25 -0
  42. data/test/MultiMarkdownTest/CompatibilityTests/French.html +17 -0
  43. data/test/MultiMarkdownTest/CompatibilityTests/French.text +17 -0
  44. data/test/MultiMarkdownTest/CompatibilityTests/German.html +17 -0
  45. data/test/MultiMarkdownTest/CompatibilityTests/German.text +17 -0
  46. data/test/MultiMarkdownTest/CompatibilityTests/GermanGuillemets.html +17 -0
  47. data/test/MultiMarkdownTest/CompatibilityTests/GermanGuillemets.text +17 -0
  48. data/test/MultiMarkdownTest/CompatibilityTests/Glossary.html +29 -0
  49. data/test/MultiMarkdownTest/CompatibilityTests/Glossary.text +28 -0
  50. data/test/MultiMarkdownTest/CompatibilityTests/Headers.html +42 -0
  51. data/test/MultiMarkdownTest/CompatibilityTests/Headers.text +51 -0
  52. data/test/MultiMarkdownTest/CompatibilityTests/Line Breaks.html +13 -0
  53. data/test/MultiMarkdownTest/CompatibilityTests/Line Breaks.text +15 -0
  54. data/test/MultiMarkdownTest/CompatibilityTests/Link Attributes.html +35 -0
  55. data/test/MultiMarkdownTest/CompatibilityTests/Link Attributes.text +51 -0
  56. data/test/MultiMarkdownTest/CompatibilityTests/List Parsing.html +13 -0
  57. data/test/MultiMarkdownTest/CompatibilityTests/List Parsing.text +11 -0
  58. data/test/MultiMarkdownTest/CompatibilityTests/MarkdownInHTML.html +13 -0
  59. data/test/MultiMarkdownTest/CompatibilityTests/MarkdownInHTML.text +19 -0
  60. data/test/MultiMarkdownTest/CompatibilityTests/Math.html +14 -0
  61. data/test/MultiMarkdownTest/CompatibilityTests/Math.text +15 -0
  62. data/test/MultiMarkdownTest/CompatibilityTests/MetaData.html +14 -0
  63. data/test/MultiMarkdownTest/CompatibilityTests/MetaData.text +14 -0
  64. data/test/MultiMarkdownTest/CompatibilityTests/NotMetaData.html +3 -0
  65. data/test/MultiMarkdownTest/CompatibilityTests/NotMetaData.text +4 -0
  66. data/test/MultiMarkdownTest/CompatibilityTests/Sanity.html +77 -0
  67. data/test/MultiMarkdownTest/CompatibilityTests/Sanity.text +77 -0
  68. data/test/MultiMarkdownTest/CompatibilityTests/SmartQuotes.html +22 -0
  69. data/test/MultiMarkdownTest/CompatibilityTests/SmartQuotes.text +22 -0
  70. data/test/MultiMarkdownTest/CompatibilityTests/Swedish.html +17 -0
  71. data/test/MultiMarkdownTest/CompatibilityTests/Swedish.text +17 -0
  72. data/test/MultiMarkdownTest/CompatibilityTests/Tables.html +65 -0
  73. data/test/MultiMarkdownTest/CompatibilityTests/Tables.text +71 -0
  74. data/test/MultiMarkdownTest/MarkdownTest.pl +182 -0
  75. data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.html +42 -0
  76. data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.tex +47 -0
  77. data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.text +46 -0
  78. data/test/MultiMarkdownTest/MemoirTests/Base Header Level.html +20 -0
  79. data/test/MultiMarkdownTest/MemoirTests/Base Header Level.tex +19 -0
  80. data/test/MultiMarkdownTest/MemoirTests/Base Header Level.text +16 -0
  81. data/test/MultiMarkdownTest/MemoirTests/BibTeX.html +17 -0
  82. data/test/MultiMarkdownTest/MemoirTests/BibTeX.tex +12 -0
  83. data/test/MultiMarkdownTest/MemoirTests/BibTeX.text +11 -0
  84. data/test/MultiMarkdownTest/MemoirTests/Citations.html +63 -0
  85. data/test/MultiMarkdownTest/MemoirTests/Citations.tex +48 -0
  86. data/test/MultiMarkdownTest/MemoirTests/Citations.text +43 -0
  87. data/test/MultiMarkdownTest/MemoirTests/Definition Lists.html +61 -0
  88. data/test/MultiMarkdownTest/MemoirTests/Definition Lists.tex +58 -0
  89. data/test/MultiMarkdownTest/MemoirTests/Definition Lists.text +40 -0
  90. data/test/MultiMarkdownTest/MemoirTests/Dutch.html +23 -0
  91. data/test/MultiMarkdownTest/MemoirTests/Dutch.tex +18 -0
  92. data/test/MultiMarkdownTest/MemoirTests/Dutch.text +17 -0
  93. data/test/MultiMarkdownTest/MemoirTests/Email.html +48 -0
  94. data/test/MultiMarkdownTest/MemoirTests/Email.tex +61 -0
  95. data/test/MultiMarkdownTest/MemoirTests/Email.text +32 -0
  96. data/test/MultiMarkdownTest/MemoirTests/English.html +23 -0
  97. data/test/MultiMarkdownTest/MemoirTests/English.tex +18 -0
  98. data/test/MultiMarkdownTest/MemoirTests/English.text +17 -0
  99. data/test/MultiMarkdownTest/MemoirTests/Footnotes.html +47 -0
  100. data/test/MultiMarkdownTest/MemoirTests/Footnotes.tex +28 -0
  101. data/test/MultiMarkdownTest/MemoirTests/Footnotes.text +26 -0
  102. data/test/MultiMarkdownTest/MemoirTests/French.html +23 -0
  103. data/test/MultiMarkdownTest/MemoirTests/French.tex +18 -0
  104. data/test/MultiMarkdownTest/MemoirTests/French.text +17 -0
  105. data/test/MultiMarkdownTest/MemoirTests/German.html +23 -0
  106. data/test/MultiMarkdownTest/MemoirTests/German.tex +18 -0
  107. data/test/MultiMarkdownTest/MemoirTests/German.text +17 -0
  108. data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.html +23 -0
  109. data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.tex +18 -0
  110. data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.text +17 -0
  111. data/test/MultiMarkdownTest/MemoirTests/Glossary.html +47 -0
  112. data/test/MultiMarkdownTest/MemoirTests/Glossary.tex +30 -0
  113. data/test/MultiMarkdownTest/MemoirTests/Glossary.text +29 -0
  114. data/test/MultiMarkdownTest/MemoirTests/Line Breaks.html +21 -0
  115. data/test/MultiMarkdownTest/MemoirTests/Line Breaks.tex +16 -0
  116. data/test/MultiMarkdownTest/MemoirTests/Line Breaks.text +16 -0
  117. data/test/MultiMarkdownTest/MemoirTests/Link Attributes.html +40 -0
  118. data/test/MultiMarkdownTest/MemoirTests/Link Attributes.tex +61 -0
  119. data/test/MultiMarkdownTest/MemoirTests/Link Attributes.text +51 -0
  120. data/test/MultiMarkdownTest/MemoirTests/Math.html +22 -0
  121. data/test/MultiMarkdownTest/MemoirTests/Math.tex +16 -0
  122. data/test/MultiMarkdownTest/MemoirTests/Math.text +16 -0
  123. data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.html +24 -0
  124. data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.tex +23 -0
  125. data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.text +20 -0
  126. data/test/MultiMarkdownTest/MemoirTests/MetaData.html +22 -0
  127. data/test/MultiMarkdownTest/MemoirTests/MetaData.tex +14 -0
  128. data/test/MultiMarkdownTest/MemoirTests/MetaData.text +15 -0
  129. data/test/MultiMarkdownTest/MemoirTests/Sanity.html +100 -0
  130. data/test/MultiMarkdownTest/MemoirTests/Sanity.tex +101 -0
  131. data/test/MultiMarkdownTest/MemoirTests/Sanity.text +78 -0
  132. data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.html +26 -0
  133. data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.tex +21 -0
  134. data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.text +19 -0
  135. data/test/MultiMarkdownTest/MemoirTests/Swedish.html +23 -0
  136. data/test/MultiMarkdownTest/MemoirTests/Swedish.tex +18 -0
  137. data/test/MultiMarkdownTest/MemoirTests/Swedish.text +17 -0
  138. data/test/MultiMarkdownTest/MemoirTests/Tables.html +221 -0
  139. data/test/MultiMarkdownTest/MemoirTests/Tables.tex +134 -0
  140. data/test/MultiMarkdownTest/MemoirTests/Tables.text +64 -0
  141. data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.html +43 -0
  142. data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.tex +46 -0
  143. data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.text +45 -0
  144. data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.html +22 -0
  145. data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.tex +19 -0
  146. data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.text +16 -0
  147. data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.html +18 -0
  148. data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
  149. data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
  150. data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +64 -0
  151. data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
  152. data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
  153. data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +57 -0
  154. data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +57 -0
  155. data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
  156. data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +25 -0
  157. data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
  158. data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
  159. data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +49 -0
  160. data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
  161. data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
  162. data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +25 -0
  163. data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
  164. data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
  165. data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +18 -0
  166. data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
  167. data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
  168. data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +48 -0
  169. data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
  170. data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
  171. data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +25 -0
  172. data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
  173. data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
  174. data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +25 -0
  175. data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
  176. data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
  177. data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +25 -0
  178. data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
  179. data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
  180. data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +48 -0
  181. data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
  182. data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
  183. data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +50 -0
  184. data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +54 -0
  185. data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +51 -0
  186. data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +22 -0
  187. data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.tex +15 -0
  188. data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.text +15 -0
  189. data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.html +56 -0
  190. data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.tex +60 -0
  191. data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.text +50 -0
  192. data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.html +22 -0
  193. data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.tex +17 -0
  194. data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.text +11 -0
  195. data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.html +21 -0
  196. data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
  197. data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
  198. data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +23 -0
  199. data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
  200. data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
  201. data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +23 -0
  202. data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
  203. data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
  204. data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.html +3 -0
  205. data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.tex +3 -0
  206. data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.text +4 -0
  207. data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +106 -0
  208. data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
  209. data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
  210. data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +31 -0
  211. data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
  212. data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
  213. data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +25 -0
  214. data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
  215. data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
  216. data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +273 -0
  217. data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +155 -0
  218. data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +71 -0
  219. data/test/MultiMarkdownTest/MultiMarkdownTests/bibtex.bib +119 -0
  220. data/test/MultiMarkdownTest/README.md +58 -0
  221. data/test/MultiMarkdownTest/Tests/Amps and angle encoding.html +17 -0
  222. data/test/MultiMarkdownTest/Tests/Amps and angle encoding.text +21 -0
  223. data/test/MultiMarkdownTest/Tests/Auto links.html +18 -0
  224. data/test/MultiMarkdownTest/Tests/Auto links.text +13 -0
  225. data/test/MultiMarkdownTest/Tests/Backslash escapes.html +118 -0
  226. data/test/MultiMarkdownTest/Tests/Backslash escapes.text +120 -0
  227. data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.html +15 -0
  228. data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.text +11 -0
  229. data/test/MultiMarkdownTest/Tests/Code Blocks.html +18 -0
  230. data/test/MultiMarkdownTest/Tests/Code Blocks.text +14 -0
  231. data/test/MultiMarkdownTest/Tests/Code Spans.html +6 -0
  232. data/test/MultiMarkdownTest/Tests/Code Spans.text +6 -0
  233. data/test/MultiMarkdownTest/Tests/Compatibility.html +5 -0
  234. data/test/MultiMarkdownTest/Tests/Compatibility.text +9 -0
  235. data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.html +8 -0
  236. data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.text +8 -0
  237. data/test/MultiMarkdownTest/Tests/Horizontal rules.html +71 -0
  238. data/test/MultiMarkdownTest/Tests/Horizontal rules.text +67 -0
  239. data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).html +15 -0
  240. data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).text +15 -0
  241. data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).html +72 -0
  242. data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).text +69 -0
  243. data/test/MultiMarkdownTest/Tests/Inline HTML comments.html +13 -0
  244. data/test/MultiMarkdownTest/Tests/Inline HTML comments.text +13 -0
  245. data/test/MultiMarkdownTest/Tests/Links, inline style.html +11 -0
  246. data/test/MultiMarkdownTest/Tests/Links, inline style.text +12 -0
  247. data/test/MultiMarkdownTest/Tests/Links, reference style.html +52 -0
  248. data/test/MultiMarkdownTest/Tests/Links, reference style.text +71 -0
  249. data/test/MultiMarkdownTest/Tests/Links, shortcut references.html +9 -0
  250. data/test/MultiMarkdownTest/Tests/Links, shortcut references.text +20 -0
  251. data/test/MultiMarkdownTest/Tests/Literal quotes in titles.html +3 -0
  252. data/test/MultiMarkdownTest/Tests/Literal quotes in titles.text +7 -0
  253. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.html +314 -0
  254. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.text +306 -0
  255. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.html +942 -0
  256. data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.text +888 -0
  257. data/test/MultiMarkdownTest/Tests/Nested blockquotes.html +9 -0
  258. data/test/MultiMarkdownTest/Tests/Nested blockquotes.text +5 -0
  259. data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.html +148 -0
  260. data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.text +131 -0
  261. data/test/MultiMarkdownTest/Tests/Strong and em together.html +7 -0
  262. data/test/MultiMarkdownTest/Tests/Strong and em together.text +7 -0
  263. data/test/MultiMarkdownTest/Tests/Tabs.html +25 -0
  264. data/test/MultiMarkdownTest/Tests/Tabs.text +21 -0
  265. data/test/MultiMarkdownTest/Tests/Tidyness.html +8 -0
  266. data/test/MultiMarkdownTest/Tests/Tidyness.text +5 -0
  267. data/test/benchmark.rb +49 -0
  268. data/test/multimarkdown_test.rb +89 -0
  269. metadata +318 -0
@@ -0,0 +1,76 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <meta name="latexinput" content="mmd-beamer-header"/>
6
+ <title>Test </title>
7
+ <meta name="latexmode" content="beamer"/>
8
+ <meta name="theme" content="keynote-gradient"/>
9
+ <meta name="latexinput" content="mmd-beamer-begin-doc"/>
10
+ <meta name="latexfooter" content="mmd-beamer-footer"/>
11
+ </head>
12
+ <body>
13
+ <h3 id="tables">Tables</h3>
14
+
15
+ <table>
16
+ <col align="left"/>
17
+ <col align="center"/>
18
+ <col align="center"/>
19
+
20
+ <thead>
21
+ <tr>
22
+ <th align="left">Features </th>
23
+ <th align="center">MultiMarkdown </th>
24
+ <th align="center">Crayons </th>
25
+ </tr>
26
+ </thead>
27
+
28
+ <tbody>
29
+ <tr>
30
+ <td align="left">Melts in warm places </td>
31
+ <td align="center">No </td>
32
+ <td align="center">Yes </td>
33
+ </tr>
34
+ <tr>
35
+ <td align="left">Mistakes can be easily fixed </td>
36
+ <td align="center">Yes </td>
37
+ <td align="center">No </td>
38
+ </tr>
39
+ <tr>
40
+ <td align="left">Easy to copy documents for friends </td>
41
+ <td align="center">Yes </td>
42
+ <td align="center">No </td>
43
+ </tr>
44
+ <tr>
45
+ <td align="left">Fun at parties </td>
46
+ <td align="center">No </td>
47
+ <td align="center">Why not? </td>
48
+ </tr>
49
+ </tbody>
50
+
51
+ <tbody>
52
+ <tr>
53
+ <td align="left">Minimum markup for maximum quality? </td>
54
+ <td align="center">Yes </td>
55
+ <td align="center">No </td>
56
+ </tr>
57
+ </tbody>
58
+ </table>
59
+ <h3 id="theoldwaywascomplicated">The old way was complicated</h3>
60
+
61
+ <pre><code>&lt;p&gt;In order to create valid
62
+ &lt;a href=&quot;http://en.wikipedia.org/wiki/HTML&quot;&gt;HTML&lt;/a&gt;, you
63
+ need properly coded syntax that can be cumbersome for
64
+ &amp;#8220;non-programmers&amp;#8221; to write. Sometimes, you
65
+ just want to easily make certain words &lt;strong&gt;bold
66
+ &lt;/strong&gt;, and certain words &lt;em&gt;italicized&lt;/em&gt; without
67
+ having to remember the syntax. Additionally, for example,
68
+ creating lists:&lt;/p&gt;
69
+
70
+ &lt;ul&gt;
71
+ &lt;li&gt;should be easy&lt;/li&gt;
72
+ &lt;li&gt;should not involve programming&lt;/li&gt;
73
+ &lt;/ul&gt;
74
+ </code></pre>
75
+ </body>
76
+ </html>
@@ -0,0 +1,64 @@
1
+ \input{mmd-beamer-header}
2
+ \def\mytitle{Test}
3
+ \def\latexmode{beamer}
4
+ \def\theme{keynote-gradient}
5
+ \input{mmd-beamer-begin-doc}
6
+ \begin{frame}
7
+
8
+ \frametitle{Tables}
9
+ \label{tables}
10
+
11
+ \begin{table}[htbp]
12
+ \begin{minipage}{\linewidth}
13
+ \setlength{\tymax}{0.5\linewidth}
14
+ \centering
15
+ \small
16
+ \begin{tabulary}{\textwidth}{@{}LCC@{}} \toprule
17
+ Features&MultiMarkdown&Crayons\\
18
+ \midrule
19
+ Melts in warm places&No&Yes\\
20
+ Mistakes can be easily fixed&Yes&No\\
21
+ Easy to copy documents for friends&Yes&No\\
22
+ Fun at parties&No&Why not?\\
23
+
24
+ \midrule
25
+ Minimum markup for maximum quality?&Yes&No\\
26
+
27
+ \bottomrule
28
+
29
+ \end{tabulary}
30
+ \end{minipage}
31
+ \end{table}
32
+
33
+
34
+ \end{frame}
35
+
36
+ \begin{frame}[fragile]
37
+
38
+ \frametitle{The old way was complicated}
39
+ \label{theoldwaywascomplicated}
40
+
41
+ \begin{verbatim}
42
+ <p>In order to create valid
43
+ <a href="http://en.wikipedia.org/wiki/HTML">HTML</a>, you
44
+ need properly coded syntax that can be cumbersome for
45
+ &#8220;non-programmers&#8221; to write. Sometimes, you
46
+ just want to easily make certain words <strong>bold
47
+ </strong>, and certain words <em>italicized</em> without
48
+ having to remember the syntax. Additionally, for example,
49
+ creating lists:</p>
50
+
51
+ <ul>
52
+ <li>should be easy</li>
53
+ <li>should not involve programming</li>
54
+ </ul>
55
+ \end{verbatim}
56
+
57
+
58
+ \end{frame}
59
+
60
+ \mode<all>
61
+ \input{mmd-beamer-footer}
62
+
63
+ \end{document}\mode*
64
+
@@ -0,0 +1,38 @@
1
+ latex input: mmd-beamer-header
2
+ Title: Test
3
+ base header level: 3
4
+ latex mode: beamer
5
+ Theme: keynote-gradient
6
+ latex input: mmd-beamer-begin-doc
7
+ latex footer: mmd-beamer-footer
8
+
9
+
10
+ # Tables #
11
+
12
+
13
+ | Features | MultiMarkdown | Crayons |
14
+ ----------------------------------- | :-----------: | :------: |
15
+ Melts in warm places | No | Yes |
16
+ Mistakes can be easily fixed | Yes | No |
17
+ Easy to copy documents for friends | Yes | No |
18
+ Fun at parties | No | Why not? |
19
+
20
+ Minimum markup for maximum quality? | Yes | No |
21
+
22
+
23
+ # The old way was complicated #
24
+
25
+ <p>In order to create valid
26
+ <a href="http://en.wikipedia.org/wiki/HTML">HTML</a>, you
27
+ need properly coded syntax that can be cumbersome for
28
+ &#8220;non-programmers&#8221; to write. Sometimes, you
29
+ just want to easily make certain words <strong>bold
30
+ </strong>, and certain words <em>italicized</em> without
31
+ having to remember the syntax. Additionally, for example,
32
+ creating lists:</p>
33
+
34
+ <ul>
35
+ <li>should be easy</li>
36
+ <li>should not involve programming</li>
37
+ </ul>
38
+
@@ -0,0 +1,35 @@
1
+ <p>latex input: mmd-article-header
2
+ Title: MultiMarkdown Autoreference Test<br/>
3
+ base header level: 2
4
+ latex input: mmd-article-begin-doc
5
+ latex footer: mmd-memoir-footer</p>
6
+
7
+ <h1>109&amp;^*&amp;#^() Must Start With Alpha</h1>
8
+
9
+ <h1>Strip out &amp;^% characters ^&amp;*^</h1>
10
+
11
+ <h1>Special Cross Reference Cases</h1>
12
+
13
+ <h2>1 Cross-References: Special Characters!@#$%^&amp;*()&lt;&gt;</h2>
14
+
15
+ <p>And now, link to [1 Cross-References: Special Characters!@#$%^&amp;*()&lt;&gt;][]</p>
16
+
17
+ <h1>Setext 1</h1>
18
+
19
+ <h2>Setext 2</h2>
20
+
21
+ <h1>Atx 1</h1>
22
+
23
+ <p>Link to [Setext 1].</p>
24
+
25
+ <p>And [Setext 2].</p>
26
+
27
+ <p>And [Atx 1].</p>
28
+
29
+ <p>And [Atx 2] should fail.</p>
30
+
31
+ <h1>Manual Header [label]</h1>
32
+
33
+ <h1>Manual Header 2 [label2]</h1>
34
+
35
+ <h2>Manual Header 3 [label3]</h2>
@@ -0,0 +1,45 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Autoreference Test
3
+ base header level: 2
4
+ latex input: mmd-article-begin-doc
5
+ latex footer: mmd-memoir-footer
6
+
7
+ # 109&^*&#^() Must Start With Alpha #
8
+
9
+ # Strip out &^% characters ^&*^ #
10
+
11
+
12
+ # Special Cross Reference Cases#
13
+
14
+ ## 1 Cross-References: Special Characters!@#$%^&*()<>##
15
+
16
+ And now, link to [1 Cross-References: Special Characters!@#$%^&*()<>][]
17
+
18
+
19
+ Setext 1
20
+ ========
21
+
22
+
23
+ Setext 2
24
+ --------
25
+
26
+ #Atx 1 #
27
+
28
+
29
+ Link to [Setext 1].
30
+
31
+ And [Setext 2].
32
+
33
+ And [Atx 1].
34
+
35
+ And [Atx 2] should fail.
36
+
37
+
38
+ # Manual Header [label] #
39
+
40
+
41
+ Manual Header 2 [label2]
42
+ ========================
43
+
44
+ Manual Header 3 [label3]
45
+ ------------------------
@@ -0,0 +1,14 @@
1
+ <p>latex input: mmd-article-header
2
+ Title: MultiMarkdown Base Header Level Test<br/>
3
+ latex mode: memoir
4
+ Base Header Level: 2
5
+ latex input: mmd-article-begin-doc
6
+ latex footer: mmd-memoir-footer</p>
7
+
8
+ <h1>This should be h2</h1>
9
+
10
+ <h2>This should be h3</h2>
11
+
12
+ <h5>This should be h6</h5>
13
+
14
+ <h6>This should be h6 in HTML h7 in LaTeX</h6>
@@ -0,0 +1,16 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Base Header Level Test
3
+ latex mode: memoir
4
+ Base Header Level: 2
5
+ latex input: mmd-article-begin-doc
6
+ latex footer: mmd-memoir-footer
7
+
8
+ # This should be h2 #
9
+
10
+ ## This should be h3 ##
11
+
12
+
13
+ ##### This should be h6 #####
14
+
15
+ ###### This should be h6 in HTML h7 in LaTeX ######
16
+
@@ -0,0 +1,9 @@
1
+ <p>latex input: mmd-article-header
2
+ Title: MultiMarkdown BibTeX Test<br/>
3
+ BibTeX: bibtex
4
+ latex input: mmd-article-begin-doc
5
+ latex footer: mmd-memoir-footer</p>
6
+
7
+ <p>This is a test of BibTeX Support.[#Knuth:1968]</p>
8
+
9
+ <p>And a locator.[p. 123][#Knuth:1981]</p>
@@ -0,0 +1,10 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown BibTeX Test
3
+ BibTeX: bibtex
4
+ latex input: mmd-article-begin-doc
5
+ latex footer: mmd-memoir-footer
6
+
7
+ This is a test of BibTeX Support.[#Knuth:1968]
8
+
9
+ And a locator.[p. 123][#Knuth:1981]
10
+
@@ -0,0 +1,40 @@
1
+ <p>latex input: mmd-article-header
2
+ Title: MultiMarkdown Citation Test<br/>
3
+ CSS: http://fletcherpenney.net/css/document.css<br/>
4
+ BibTex: fake
5
+ latex input: mmd-article-begin-doc
6
+ latex footer: mmd-memoir-footer</p>
7
+
8
+ <p>This is a test of citations[#first] for[^note] MultiMarkdown[#second].</p>
9
+
10
+ <p>And an unlisted citation.[#Author:1988].</p>
11
+
12
+ <p>And now some repeats...[^note2]</p>
13
+
14
+ <p>This is a test of citations[p. 123][#first] for MultiMarkdown[#second].</p>
15
+
16
+ <p>And an unlisted citation[#Author:1988].</p>
17
+
18
+ <p>Unlisted with locator.[test][#Author:1988]</p>
19
+
20
+ <p>Empty locator.[#first][]</p>
21
+
22
+ <p>Consecutive citations.[#first][#second]</p>
23
+
24
+ <p>Consecutive citations.[#first][][#second][]</p>
25
+
26
+ <p>An &quot;improperly&quot; formed citation.[][#second]</p>
27
+
28
+ <p>And an &quot;improper&quot; sequence.[][#first][][#second]</p>
29
+
30
+ <p>[not cited][#third]</p>
31
+
32
+ <p>[#first]: John Doe. <em>A Totally Fake Book</em>. Vanity Press, 2006.</p>
33
+
34
+ <p>[#second]: Jane Doe. <em>Another Totally Fake Book</em>. Vanity Press, 2008.</p>
35
+
36
+ <p>[#third]: Jim Doe. <em>Yet Another Fake Book</em>. Vanity Press, 2010.</p>
37
+
38
+ <p>[^note]: A footnote for good measure.</p>
39
+
40
+ <p>[^note2]: And another footnote</p>
@@ -0,0 +1,42 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Citation Test
3
+ CSS: http://fletcherpenney.net/css/document.css
4
+ BibTex: fake
5
+ latex input: mmd-article-begin-doc
6
+ latex footer: mmd-memoir-footer
7
+
8
+ This is a test of citations[#first] for[^note] MultiMarkdown[#second].
9
+
10
+ And an unlisted citation.[#Author:1988].
11
+
12
+ And now some repeats...[^note2]
13
+
14
+ This is a test of citations[p. 123][#first] for MultiMarkdown[#second].
15
+
16
+ And an unlisted citation[#Author:1988].
17
+
18
+ Unlisted with locator.[test][#Author:1988]
19
+
20
+ Empty locator.[#first][]
21
+
22
+ Consecutive citations.[#first][#second]
23
+
24
+ Consecutive citations.[#first][][#second][]
25
+
26
+ An "improperly" formed citation.[][#second]
27
+
28
+ And an "improper" sequence.[][#first][][#second]
29
+
30
+
31
+ [not cited][#third]
32
+
33
+
34
+ [#first]: John Doe. *A Totally Fake Book*. Vanity Press, 2006.
35
+
36
+ [#second]: Jane Doe. *Another Totally Fake Book*. Vanity Press, 2008.
37
+
38
+ [#third]: Jim Doe. *Yet Another Fake Book*. Vanity Press, 2010.
39
+
40
+ [^note]: A footnote for good measure.
41
+
42
+ [^note2]: And another footnote
@@ -0,0 +1,40 @@
1
+ <p>latex input: mmd-article-header
2
+ Title: MultiMarkdown Definition List Test<br/>
3
+ latex input: mmd-article-begin-doc
4
+ latex footer: mmd-memoir-footer</p>
5
+
6
+ <p>Term 1
7
+ Term 2
8
+ : Definition a</p>
9
+
10
+ <p>Term 3
11
+ : Definition b
12
+ : Definition c</p>
13
+
14
+ <p>Term 1</p>
15
+
16
+ <p>: This is a definition with two paragraphs. Lorem ipsum
17
+ dolor sit amet, consectetuer adipiscing elit. Aliquam
18
+ hendrerit mi posuere lectus.</p>
19
+
20
+ <pre><code>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
21
+ vitae, risus.
22
+ </code></pre>
23
+
24
+ <p>: Second definition for term 1, also wrapped in a paragraph
25
+ because of the blank line preceding it.</p>
26
+
27
+ <p>Term 2</p>
28
+
29
+ <p>: This definition has a code block, a blockquote and a list.</p>
30
+
31
+ <pre><code> code block.
32
+
33
+ &gt; block quote
34
+ &gt; on two lines.
35
+
36
+ 1. first list item
37
+ 2. second list item
38
+ </code></pre>
39
+
40
+ <p>And this is a regular paragraph.</p>
@@ -0,0 +1,39 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Definition List Test
3
+ latex input: mmd-article-begin-doc
4
+ latex footer: mmd-memoir-footer
5
+
6
+ Term 1
7
+ Term 2
8
+ : Definition a
9
+
10
+ Term 3
11
+ : Definition b
12
+ : Definition c
13
+
14
+
15
+ Term 1
16
+
17
+ : This is a definition with two paragraphs. Lorem ipsum
18
+ dolor sit amet, consectetuer adipiscing elit. Aliquam
19
+ hendrerit mi posuere lectus.
20
+
21
+ Vestibulum enim wisi, viverra nec, fringilla in, laoreet
22
+ vitae, risus.
23
+
24
+ : Second definition for term 1, also wrapped in a paragraph
25
+ because of the blank line preceding it.
26
+
27
+ Term 2
28
+
29
+ : This definition has a code block, a blockquote and a list.
30
+
31
+ code block.
32
+
33
+ > block quote
34
+ > on two lines.
35
+
36
+ 1. first list item
37
+ 2. second list item
38
+
39
+ And this is a regular paragraph.
@@ -0,0 +1,17 @@
1
+ <p>latex input: mmd-article-header<br/>
2
+ Title: MultiMarkdown Dutch Test<br/>
3
+ quoteslanguage: dutch<br/>
4
+ latex input: mmd-article-begin-doc<br/>
5
+ latex footer: mmd-memoir-footer </p>
6
+
7
+ <p>'this is a single quote'</p>
8
+
9
+ <p>&quot;this is a double quote&quot;</p>
10
+
11
+ <p>this isn't an apostrophe.</p>
12
+
13
+ <p>this is an em --- dash</p>
14
+
15
+ <p>this is an en -- dash</p>
16
+
17
+ <p>and an ellipsis...</p>
@@ -0,0 +1,17 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Dutch Test
3
+ quoteslanguage: dutch
4
+ latex input: mmd-article-begin-doc
5
+ latex footer: mmd-memoir-footer
6
+
7
+ 'this is a single quote'
8
+
9
+ "this is a double quote"
10
+
11
+ this isn't an apostrophe.
12
+
13
+ this is an em --- dash
14
+
15
+ this is an en -- dash
16
+
17
+ and an ellipsis...
@@ -0,0 +1,40 @@
1
+ <p>latex input: mmd-article-header<br/>
2
+ Title: Email Test<br/>
3
+ latex input: mmd-article-begin-doc<br/>
4
+ latex footer: mmd-memoir-footer </p>
5
+
6
+ <p>Link: <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#111;&#58;&#117;&#x73;&#x65;&#114;&#x36;&#55;&#64;&#x65;&#x78;&#x61;&#x6d;&#112;&#108;&#x65;&#x2e;&#x63;&#x6f;&#109;">&#x75;&#x73;&#101;&#114;&#x36;&#x37;&#64;&#101;&#x78;&#97;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#111;&#x6d;</a>.</p>
7
+
8
+ <ul>
9
+ <li>In a list?</li>
10
+ <li><a href="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#x75;&#x73;&#101;&#114;&#54;&#55;&#64;&#101;&#120;&#x61;&#109;&#112;&#x6c;&#101;&#x2e;&#x63;&#x6f;&#109;">&#117;&#x73;&#101;&#x72;&#x36;&#x37;&#x40;&#101;&#x78;&#97;&#x6d;&#x70;&#x6c;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a></li>
11
+ <li>It should.</li>
12
+ </ul>
13
+
14
+ <blockquote>
15
+ <p>Blockquoted: <a href="&#x6d;&#97;&#x69;&#108;&#116;&#x6f;&#x3a;&#117;&#115;&#101;&#114;&#x36;&#55;&#64;&#x65;&#x78;&#x61;&#109;&#x70;&#108;&#x65;&#x2e;&#99;&#111;&#x6d;">&#x75;&#x73;&#x65;&#x72;&#54;&#55;&#x40;&#101;&#120;&#97;&#x6d;&#112;&#108;&#x65;&#46;&#x63;&#111;&#109;</a></p>
16
+ </blockquote>
17
+
18
+ <p>Auto-links should not occur here: <code>&lt;user67@example.com&gt;</code></p>
19
+
20
+ <pre><code>or here: &lt;user67@example.com&gt;
21
+ </code></pre>
22
+
23
+ <p>And with the mailto bit:</p>
24
+
25
+ <p>Link: <a href="&#109;&#97;&#x69;&#108;&#116;&#x6f;&#x3a;&#x75;&#115;&#x65;&#x72;&#54;&#x37;&#64;&#x65;&#120;&#97;&#109;&#x70;&#x6c;&#101;&#46;&#99;&#x6f;&#x6d;">&#117;&#x73;&#x65;&#114;&#x36;&#55;&#x40;&#101;&#x78;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;</a>.</p>
26
+
27
+ <ul>
28
+ <li>In a list?</li>
29
+ <li><a href="&#x6d;&#97;&#105;&#108;&#116;&#x6f;&#x3a;&#x75;&#x73;&#x65;&#114;&#x36;&#x37;&#x40;&#101;&#x78;&#x61;&#109;&#112;&#108;&#x65;&#x2e;&#x63;&#111;&#109;">&#x75;&#x73;&#101;&#114;&#x36;&#55;&#64;&#101;&#x78;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#x63;&#111;&#109;</a></li>
30
+ <li>It should.</li>
31
+ </ul>
32
+
33
+ <blockquote>
34
+ <p>Blockquoted: <a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x75;&#115;&#x65;&#x72;&#54;&#x37;&#64;&#x65;&#120;&#97;&#109;&#112;&#x6c;&#x65;&#x2e;&#x63;&#x6f;&#x6d;">&#117;&#x73;&#x65;&#114;&#x36;&#55;&#64;&#101;&#x78;&#x61;&#109;&#112;&#108;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a></p>
35
+ </blockquote>
36
+
37
+ <p>Auto-links should not occur here: <code>&lt;mailto:user67@example.com&gt;</code></p>
38
+
39
+ <pre><code>or here: &lt;mailto:user67@example.com&gt;
40
+ </code></pre>
@@ -0,0 +1,31 @@
1
+ latex input: mmd-article-header
2
+ Title: Email Test
3
+ latex input: mmd-article-begin-doc
4
+ latex footer: mmd-memoir-footer
5
+
6
+ Link: <user67@example.com>.
7
+
8
+ * In a list?
9
+ * <user67@example.com>
10
+ * It should.
11
+
12
+ > Blockquoted: <user67@example.com>
13
+
14
+ Auto-links should not occur here: `<user67@example.com>`
15
+
16
+ or here: <user67@example.com>
17
+
18
+
19
+ And with the mailto bit:
20
+
21
+ Link: <mailto:user67@example.com>.
22
+
23
+ * In a list?
24
+ * <mailto:user67@example.com>
25
+ * It should.
26
+
27
+ > Blockquoted: <mailto:user67@example.com>
28
+
29
+ Auto-links should not occur here: `<mailto:user67@example.com>`
30
+
31
+ or here: <mailto:user67@example.com>
@@ -0,0 +1,17 @@
1
+ <p>latex input: mmd-article-header<br/>
2
+ Title: MultiMarkdown English Test<br/>
3
+ quoteslanguage: english<br/>
4
+ latex input: mmd-article-begin-doc<br/>
5
+ latex footer: mmd-memoir-footer </p>
6
+
7
+ <p>'this is a single quote'</p>
8
+
9
+ <p>&quot;this is a double quote&quot;</p>
10
+
11
+ <p>this isn't an apostrophe.</p>
12
+
13
+ <p>this is an em --- dash</p>
14
+
15
+ <p>this is an en -- dash</p>
16
+
17
+ <p>and an ellipsis...</p>
@@ -0,0 +1,17 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown English Test
3
+ quoteslanguage: english
4
+ latex input: mmd-article-begin-doc
5
+ latex footer: mmd-memoir-footer
6
+
7
+ 'this is a single quote'
8
+
9
+ "this is a double quote"
10
+
11
+ this isn't an apostrophe.
12
+
13
+ this is an em --- dash
14
+
15
+ this is an en -- dash
16
+
17
+ and an ellipsis...
@@ -0,0 +1,9 @@
1
+ <p>latex input: mmd-article-header<br/>
2
+ Title: MultiMarkdown Error Test<br/>
3
+ latex input: mmd-article-begin-doc<br/>
4
+ latex footer: mmd-memoir-footer </p>
5
+
6
+ <p>This document contains &quot;errors&quot; - the output shouldn't match what was
7
+ intended, but it shouldn't crash MMD.</p>
8
+
9
+ <p>This is a missing link reference [some text][missing] and ![missing image][missing2].</p>
@@ -0,0 +1,11 @@
1
+ latex input: mmd-article-header
2
+ Title: MultiMarkdown Error Test
3
+ latex input: mmd-article-begin-doc
4
+ latex footer: mmd-memoir-footer
5
+
6
+ This document contains "errors" - the output shouldn't match what was
7
+ intended, but it shouldn't crash MMD.
8
+
9
+
10
+ This is a missing link reference [some text][missing] and ![missing image][missing2].
11
+
@@ -0,0 +1,23 @@
1
+ <p>latex input: mmd-article-header<br/>
2
+ Title: MultiMarkdown Footer Test<br/>
3
+ latex input: mmd-article-begin-doc<br/>
4
+ latex footer: mmd-memoir-footer </p>
5
+
6
+ <p>Here is some text containing a footnote.[^somesamplefootnote]</p>
7
+
8
+ <blockquote>
9
+ <p>And here is a footnote within a blockquote, should be labelled #2.[^secondnote]</p>
10
+ </blockquote>
11
+
12
+ <p>And this is a codeblock, that should not be a footnote:</p>
13
+
14
+ <pre><code>This is code.[^somesamplefootnote]
15
+ </code></pre>
16
+
17
+ <p>And this is a short footnote for testing.<a href="Finis">^shortnote</a></p>
18
+
19
+ <p>And now, reuse a footnote.<a href="Finis">^shortnote</a></p>
20
+
21
+ <p>[^somesamplefootnote]: Here is the text of the footnote itself. It also has a <a href="http://somelink.com">link</a>.</p>
22
+
23
+ <p>[^secondnote]: Note # 2.</p>