rpeg-multimarkdown 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +94 -0
- data/README.markdown +58 -0
- data/Rakefile +171 -0
- data/bin/rpeg-multimarkdown +128 -0
- data/ext/extconf.h +3 -0
- data/ext/extconf.rb +15 -0
- data/ext/markdown.c +88 -0
- data/ext/markdown_lib.c +211 -0
- data/ext/markdown_lib.h +28 -0
- data/ext/markdown_output.c +2704 -0
- data/ext/markdown_parser.c +8275 -0
- data/ext/markdown_peg.h +142 -0
- data/ext/odf.c +179 -0
- data/ext/odf.h +3 -0
- data/ext/parsing_functions.c +182 -0
- data/ext/utility_functions.c +535 -0
- data/lib/multimarkdown.rb +1 -0
- data/lib/peg_multimarkdown.rb +74 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.html +76 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.tex +64 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.text +38 -0
- data/test/MultiMarkdownTest/MarkdownTest.pl +182 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.html +42 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.tex +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.text +46 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.html +17 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.tex +12 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.text +11 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.html +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.tex +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.text +43 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.html +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.tex +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.text +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.html +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.text +32 -0
- data/test/MultiMarkdownTest/MemoirTests/English.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/English.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.tex +28 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.text +26 -0
- data/test/MultiMarkdownTest/MemoirTests/French.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/French.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/German.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/German.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.tex +30 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.text +29 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.html +21 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.html +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.text +51 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.html +24 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.tex +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.text +20 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.tex +14 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.text +15 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.html +100 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.tex +101 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.text +78 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.html +26 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.tex +21 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.text +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.html +221 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.tex +134 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.text +64 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.html +41 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.tex +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.text +45 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.html +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +62 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +62 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +52 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +49 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.html +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.tex +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.text +50 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.tex +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.html +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +104 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +29 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +230 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +133 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +63 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/bibtex.bib +119 -0
- data/test/MultiMarkdownTest/README.md +58 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.html +17 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.text +21 -0
- data/test/MultiMarkdownTest/Tests/Auto links.html +18 -0
- data/test/MultiMarkdownTest/Tests/Auto links.text +13 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.html +118 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.text +120 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.html +15 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.text +11 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.html +18 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.text +14 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.html +6 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.text +6 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.html +5 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.text +9 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.html +8 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.text +8 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.html +71 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.text +67 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).html +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).text +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).html +72 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).text +69 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.html +13 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.text +13 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.html +11 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.text +12 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.html +52 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.text +71 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.html +9 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.text +20 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.html +3 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.text +7 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.html +314 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.text +306 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.html +942 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.text +888 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.html +9 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.text +5 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.html +148 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.text +131 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.html +7 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.text +7 -0
- data/test/MultiMarkdownTest/Tests/Tabs.html +25 -0
- data/test/MultiMarkdownTest/Tests/Tabs.text +21 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.html +8 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.text +5 -0
- data/test/benchmark.rb +49 -0
- data/test/multimarkdown_test.rb +89 -0
- metadata +280 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
4
|
+
<head>
|
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
|
6
|
+
<title>MultiMarkdown Definition List Test</title>
|
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<dl>
|
|
12
|
+
<dt>Term 1
|
|
13
|
+
</dt>
|
|
14
|
+
<dt>Term 2
|
|
15
|
+
</dt>
|
|
16
|
+
<dd>Definition a</dd>
|
|
17
|
+
|
|
18
|
+
<dt>Term 3
|
|
19
|
+
</dt>
|
|
20
|
+
<dd>Definition b</dd>
|
|
21
|
+
|
|
22
|
+
<dd>Definition c</dd>
|
|
23
|
+
|
|
24
|
+
<dt>Term 1
|
|
25
|
+
</dt>
|
|
26
|
+
<dd>
|
|
27
|
+
<p>This is a definition with two paragraphs. Lorem ipsum
|
|
28
|
+
dolor sit amet, consectetuer adipiscing elit. Aliquam
|
|
29
|
+
hendrerit mi posuere lectus.</p>
|
|
30
|
+
|
|
31
|
+
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
|
32
|
+
vitae, risus.</p></dd>
|
|
33
|
+
|
|
34
|
+
<dd>
|
|
35
|
+
<p>Second definition for term 1, also wrapped in a paragraph
|
|
36
|
+
because of the blank line preceding it.</p></dd>
|
|
37
|
+
|
|
38
|
+
<dt>Term 2
|
|
39
|
+
</dt>
|
|
40
|
+
<dd>
|
|
41
|
+
<p>This definition has a code block, a blockquote and a list.</p>
|
|
42
|
+
|
|
43
|
+
<pre><code>code block.
|
|
44
|
+
</code></pre>
|
|
45
|
+
|
|
46
|
+
<blockquote>
|
|
47
|
+
<p>block quote
|
|
48
|
+
on two lines.</p>
|
|
49
|
+
</blockquote>
|
|
50
|
+
|
|
51
|
+
<ol>
|
|
52
|
+
<li>first list item</li>
|
|
53
|
+
<li>second list item</li>
|
|
54
|
+
</ol></dd>
|
|
55
|
+
</dl>
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
<p>And this is a regular paragraph.</p>
|
|
59
|
+
</body>
|
|
60
|
+
</html>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
\input{mmd-article-header}
|
|
2
|
+
\def\mytitle{MultiMarkdown Definition List Test}
|
|
3
|
+
\input{mmd-article-begin-doc}
|
|
4
|
+
\begin{description}
|
|
5
|
+
|
|
6
|
+
\item[Term 1
|
|
7
|
+
]
|
|
8
|
+
|
|
9
|
+
\item[Term 2
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
Definition a
|
|
13
|
+
|
|
14
|
+
\item[Term 3
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
Definition b
|
|
18
|
+
|
|
19
|
+
Definition c
|
|
20
|
+
|
|
21
|
+
\item[Term 1
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
This is a definition with two paragraphs. Lorem ipsum
|
|
25
|
+
dolor sit amet, consectetuer adipiscing elit. Aliquam
|
|
26
|
+
hendrerit mi posuere lectus.
|
|
27
|
+
|
|
28
|
+
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
|
29
|
+
vitae, risus.
|
|
30
|
+
|
|
31
|
+
Second definition for term 1, also wrapped in a paragraph
|
|
32
|
+
because of the blank line preceding it.
|
|
33
|
+
|
|
34
|
+
\item[Term 2
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
This definition has a code block, a blockquote and a list.
|
|
38
|
+
|
|
39
|
+
\begin{verbatim}
|
|
40
|
+
code block.
|
|
41
|
+
\end{verbatim}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
\begin{quote}
|
|
45
|
+
|
|
46
|
+
block quote
|
|
47
|
+
on two lines.
|
|
48
|
+
\end{quote}
|
|
49
|
+
|
|
50
|
+
\begin{enumerate}
|
|
51
|
+
\item first list item
|
|
52
|
+
|
|
53
|
+
\item second list item
|
|
54
|
+
|
|
55
|
+
\end{enumerate}
|
|
56
|
+
\end{description}
|
|
57
|
+
|
|
58
|
+
And this is a regular paragraph.
|
|
59
|
+
|
|
60
|
+
\input{mmd-memoir-footer}
|
|
61
|
+
|
|
62
|
+
\end{document}
|
|
@@ -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,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
4
|
+
<head>
|
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
|
6
|
+
<title>MultiMarkdown Dutch Test</title>
|
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<p>‘this is a single quote’</p>
|
|
12
|
+
|
|
13
|
+
<p>„this is a double quote”</p>
|
|
14
|
+
|
|
15
|
+
<p>this isn’t an apostrophe.</p>
|
|
16
|
+
|
|
17
|
+
<p>this is an em — dash</p>
|
|
18
|
+
|
|
19
|
+
<p>this is an en – dash</p>
|
|
20
|
+
|
|
21
|
+
<p>and an ellipsis…</p>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
\input{mmd-article-header}
|
|
2
|
+
\def\mytitle{MultiMarkdown Dutch Test}
|
|
3
|
+
\input{mmd-article-begin-doc}
|
|
4
|
+
`this is a single quote'
|
|
5
|
+
|
|
6
|
+
„this is a double quote''
|
|
7
|
+
|
|
8
|
+
this isn't an apostrophe.
|
|
9
|
+
|
|
10
|
+
this is an em --- dash
|
|
11
|
+
|
|
12
|
+
this is an en -- dash
|
|
13
|
+
|
|
14
|
+
and an ellipsis{\ldots}
|
|
15
|
+
|
|
16
|
+
\input{mmd-memoir-footer}
|
|
17
|
+
|
|
18
|
+
\end{document}
|
|
@@ -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,47 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
4
|
+
<head>
|
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
|
6
|
+
<title>Email Test</title>
|
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<p>Link: <a href="mailto:user67@example.com">user67@example.com</a>.</p>
|
|
12
|
+
|
|
13
|
+
<ul>
|
|
14
|
+
<li>In a list?</li>
|
|
15
|
+
<li><a href="mailto:user67@example.com">user67@example.com</a></li>
|
|
16
|
+
<li>It should.</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<blockquote>
|
|
20
|
+
<p>Blockquoted: <a href="mailto:user67@example.com">user67@example.com</a></p>
|
|
21
|
+
</blockquote>
|
|
22
|
+
|
|
23
|
+
<p>Auto-links should not occur here: <code><user67@example.com></code></p>
|
|
24
|
+
|
|
25
|
+
<pre><code>or here: <user67@example.com>
|
|
26
|
+
</code></pre>
|
|
27
|
+
|
|
28
|
+
<p>And with the mailto bit:</p>
|
|
29
|
+
|
|
30
|
+
<p>Link: <a href="mailto:user67@example.com">user67@example.com</a>.</p>
|
|
31
|
+
|
|
32
|
+
<ul>
|
|
33
|
+
<li>In a list?</li>
|
|
34
|
+
<li><a href="mailto:user67@example.com">user67@example.com</a></li>
|
|
35
|
+
<li>It should.</li>
|
|
36
|
+
</ul>
|
|
37
|
+
|
|
38
|
+
<blockquote>
|
|
39
|
+
<p>Blockquoted: <a href="mailto:user67@example.com">user67@example.com</a></p>
|
|
40
|
+
</blockquote>
|
|
41
|
+
|
|
42
|
+
<p>Auto-links should not occur here: <code><mailto:user67@example.com></code></p>
|
|
43
|
+
|
|
44
|
+
<pre><code>or here: <mailto:user67@example.com>
|
|
45
|
+
</code></pre>
|
|
46
|
+
</body>
|
|
47
|
+
</html>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
\input{mmd-article-header}
|
|
2
|
+
\def\mytitle{Email Test}
|
|
3
|
+
\input{mmd-article-begin-doc}
|
|
4
|
+
Link: \href{mailto:user67@example.com}{user67@example.com}.
|
|
5
|
+
|
|
6
|
+
\begin{itemize}
|
|
7
|
+
\item In a list?
|
|
8
|
+
|
|
9
|
+
\item \href{mailto:user67@example.com}{user67@example.com}
|
|
10
|
+
|
|
11
|
+
\item It should.
|
|
12
|
+
|
|
13
|
+
\end{itemize}
|
|
14
|
+
|
|
15
|
+
\begin{quote}
|
|
16
|
+
|
|
17
|
+
Blockquoted: \href{mailto:user67@example.com}{user67@example.com}
|
|
18
|
+
\end{quote}
|
|
19
|
+
|
|
20
|
+
Auto-links should not occur here: \texttt{$<$user67@example.com$>$}
|
|
21
|
+
|
|
22
|
+
\begin{verbatim}
|
|
23
|
+
or here: <user67@example.com>
|
|
24
|
+
\end{verbatim}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
And with the mailto bit:
|
|
28
|
+
|
|
29
|
+
Link: \href{mailto:user67@example.com}{user67@example.com}.
|
|
30
|
+
|
|
31
|
+
\begin{itemize}
|
|
32
|
+
\item In a list?
|
|
33
|
+
|
|
34
|
+
\item \href{mailto:user67@example.com}{user67@example.com}
|
|
35
|
+
|
|
36
|
+
\item It should.
|
|
37
|
+
|
|
38
|
+
\end{itemize}
|
|
39
|
+
|
|
40
|
+
\begin{quote}
|
|
41
|
+
|
|
42
|
+
Blockquoted: \href{mailto:user67@example.com}{user67@example.com}
|
|
43
|
+
\end{quote}
|
|
44
|
+
|
|
45
|
+
Auto-links should not occur here: \texttt{$<$mailto:user67@example.com$>$}
|
|
46
|
+
|
|
47
|
+
\begin{verbatim}
|
|
48
|
+
or here: <mailto:user67@example.com>
|
|
49
|
+
\end{verbatim}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
\input{mmd-memoir-footer}
|
|
53
|
+
|
|
54
|
+
\end{document}
|
|
@@ -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,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
4
|
+
<head>
|
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
|
6
|
+
<title>MultiMarkdown English Test</title>
|
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<p>‘this is a single quote’</p>
|
|
12
|
+
|
|
13
|
+
<p>“this is a double quote”</p>
|
|
14
|
+
|
|
15
|
+
<p>this isn’t an apostrophe.</p>
|
|
16
|
+
|
|
17
|
+
<p>this is an em — dash</p>
|
|
18
|
+
|
|
19
|
+
<p>this is an en – dash</p>
|
|
20
|
+
|
|
21
|
+
<p>and an ellipsis…</p>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
\input{mmd-article-header}
|
|
2
|
+
\def\mytitle{MultiMarkdown English Test}
|
|
3
|
+
\input{mmd-article-begin-doc}
|
|
4
|
+
`this is a single quote'
|
|
5
|
+
|
|
6
|
+
``this is a double quote''
|
|
7
|
+
|
|
8
|
+
this isn't an apostrophe.
|
|
9
|
+
|
|
10
|
+
this is an em --- dash
|
|
11
|
+
|
|
12
|
+
this is an en -- dash
|
|
13
|
+
|
|
14
|
+
and an ellipsis{\ldots}
|
|
15
|
+
|
|
16
|
+
\input{mmd-memoir-footer}
|
|
17
|
+
|
|
18
|
+
\end{document}
|
|
@@ -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,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
4
|
+
<head>
|
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
|
6
|
+
<title>MultiMarkdown Error Test</title>
|
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<p>This document contains “errors” - the output shouldn’t match what was
|
|
12
|
+
intended, but it shouldn’t crash MMD.</p>
|
|
13
|
+
|
|
14
|
+
<p>This is a missing link reference [some text][missing] and ![missing image][missing2].</p>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|