rpeg-multimarkdown2 2.0.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 +96 -0
- data/README.markdown +52 -0
- data/Rakefile +167 -0
- data/bin/rpeg-multimarkdown2 +128 -0
- data/ext/extconf.h +3 -0
- data/ext/extconf.rb +15 -0
- data/ext/markdown.c +102 -0
- data/ext/markdown_lib.c +265 -0
- data/ext/markdown_lib.h +33 -0
- data/ext/markdown_output.c +2832 -0
- data/ext/markdown_parser.c +9091 -0
- data/ext/markdown_peg.h +144 -0
- data/ext/odf.c +183 -0
- data/ext/odf.h +3 -0
- data/ext/parsing_functions.c +199 -0
- data/ext/utility_functions.c +566 -0
- data/lib/multimarkdown2.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/CompatibilityTests/Automatic Labels.html +35 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Automatic Labels.text +45 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Base Header Level.html +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/CompatibilityTests/BibTeX.html +9 -0
- data/test/MultiMarkdownTest/CompatibilityTests/BibTeX.text +10 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Citations.html +40 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Definition Lists.html +40 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Dutch.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Email.html +40 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Email.text +31 -0
- data/test/MultiMarkdownTest/CompatibilityTests/English.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/English.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Errors.html +9 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Footnotes.html +23 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/CompatibilityTests/French.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/French.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/German.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/German.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/GermanGuillemets.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Glossary.html +29 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Headers.html +42 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Headers.text +51 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Line Breaks.html +13 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Line Breaks.text +15 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Link Attributes.html +35 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Link Attributes.text +51 -0
- data/test/MultiMarkdownTest/CompatibilityTests/List Parsing.html +13 -0
- data/test/MultiMarkdownTest/CompatibilityTests/List Parsing.text +11 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MarkdownInHTML.html +13 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Math.html +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Math.text +15 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MetaData.html +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/CompatibilityTests/NotMetaData.html +3 -0
- data/test/MultiMarkdownTest/CompatibilityTests/NotMetaData.text +4 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Sanity.html +77 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/CompatibilityTests/SmartQuotes.html +22 -0
- data/test/MultiMarkdownTest/CompatibilityTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Swedish.html +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Tables.html +65 -0
- data/test/MultiMarkdownTest/CompatibilityTests/Tables.text +71 -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 +58 -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 +43 -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 +22 -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 +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +64 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +57 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +57 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +49 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +48 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +48 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +50 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +51 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +22 -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 +56 -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 +22 -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 +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.html +3 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.tex +3 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/NotMetaData.text +4 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +106 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +273 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +155 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +71 -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 +318 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Footer Test}
|
3
|
+
\input{mmd-article-begin-doc}
|
4
|
+
Here is some text containing a footnote.\footnote{Here is the text of the footnote itself. It also has a \href{http://somelink.com}{link}\footnote{\href{http://somelink.com}{http:/\slash somelink.com}}.}
|
5
|
+
|
6
|
+
\begin{quote}
|
7
|
+
|
8
|
+
And here is a footnote within a blockquote, should be labelled \#2.\footnote{Note \# 2.}
|
9
|
+
\end{quote}
|
10
|
+
|
11
|
+
And this is a codeblock, that should not be a footnote:
|
12
|
+
|
13
|
+
\begin{verbatim}
|
14
|
+
This is code.[^somesamplefootnote]
|
15
|
+
\end{verbatim}
|
16
|
+
|
17
|
+
|
18
|
+
And this is a short footnote for testing.\footnote{Finis}
|
19
|
+
|
20
|
+
And now, reuse a footnote.\footnote{Finis}
|
21
|
+
|
22
|
+
\input{mmd-memoir-footer}
|
23
|
+
|
24
|
+
\end{document}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Footer Test
|
3
|
+
latex input: mmd-article-begin-doc
|
4
|
+
latex footer: mmd-memoir-footer
|
5
|
+
|
6
|
+
Here is some text containing a footnote.[^somesamplefootnote]
|
7
|
+
|
8
|
+
|
9
|
+
> And here is a footnote within a blockquote, should be labelled #2.[^secondnote]
|
10
|
+
|
11
|
+
And this is a codeblock, that should not be a footnote:
|
12
|
+
|
13
|
+
This is code.[^somesamplefootnote]
|
14
|
+
|
15
|
+
And this is a short footnote for testing.[^shortnote]
|
16
|
+
|
17
|
+
And now, reuse a footnote.[^shortnote]
|
18
|
+
|
19
|
+
[^somesamplefootnote]: Here is the text of the footnote itself. It also has a [link][somesamplefootnote].
|
20
|
+
|
21
|
+
[somesamplefootnote]:http://somelink.com
|
22
|
+
|
23
|
+
[^secondnote]: Note # 2.
|
24
|
+
|
25
|
+
[^shortnote]: Finis
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown French Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<p>'this is a single quote’</p>
|
13
|
+
|
14
|
+
<p>«this is a double quote»</p>
|
15
|
+
|
16
|
+
<p>this isn’t an apostrophe.</p>
|
17
|
+
|
18
|
+
<p>this is an em — dash</p>
|
19
|
+
|
20
|
+
<p>this is an en – dash</p>
|
21
|
+
|
22
|
+
<p>and an ellipsis…</p>
|
23
|
+
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown French 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 French Test
|
3
|
+
quoteslanguage: french
|
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,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown German Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<p>‚this is a single quote‘</p>
|
13
|
+
|
14
|
+
<p>„this is a double quote“</p>
|
15
|
+
|
16
|
+
<p>this isn’t an apostrophe.</p>
|
17
|
+
|
18
|
+
<p>this is an em — dash</p>
|
19
|
+
|
20
|
+
<p>this is an en – dash</p>
|
21
|
+
|
22
|
+
<p>and an ellipsis…</p>
|
23
|
+
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown German 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 German Test
|
3
|
+
quoteslanguage: german
|
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,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown German Guillemets Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<p>›this is a single quote‹</p>
|
13
|
+
|
14
|
+
<p>»this is a double quote«</p>
|
15
|
+
|
16
|
+
<p>this isn’t an apostrophe.</p>
|
17
|
+
|
18
|
+
<p>this is an em — dash</p>
|
19
|
+
|
20
|
+
<p>this is an en – dash</p>
|
21
|
+
|
22
|
+
<p>and an ellipsis…</p>
|
23
|
+
|
24
|
+
</body>
|
25
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown German Guillemets 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 German Guillemets Test
|
3
|
+
quoteslanguage: germanguillemets
|
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,48 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Glossary Test</title>
|
7
|
+
<link type="text/css" rel="stylesheet" href="http://fletcherpenney.net/css/document.css"/>
|
8
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
9
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
|
13
|
+
<p>MultiMarkdown has a special format for footnotes that should represent
|
14
|
+
glossary terms. This doesn’t make much difference in XHTML (because there is
|
15
|
+
no such thing as a glossary in XHTML), but can be used to generate a glossary
|
16
|
+
within LaTeX documents.</p>
|
17
|
+
|
18
|
+
<p>For example, let’s have an entry for <code>glossary</code>.<a href="#fn:1" id="fnref:1" title="see footnote" class="footnote glossary">[1]</a> And what about
|
19
|
+
ampersands?<a href="#fn:2" id="fnref:2" title="see footnote" class="footnote glossary">[2]</a></p>
|
20
|
+
|
21
|
+
<p>Since we want the ampersand entry to be sorted with the a’s, and not with
|
22
|
+
symbols, we put in the optional sort key <code>ampersand</code> to control sorting.</p>
|
23
|
+
|
24
|
+
<pre><code>[^glossary]: glossary: Glossary
|
25
|
+
A section at the end ...
|
26
|
+
|
27
|
+
[^amp]: glossary: & (ampersand)
|
28
|
+
A punctuation mark ...
|
29
|
+
</code></pre>
|
30
|
+
|
31
|
+
<div class="footnotes">
|
32
|
+
<hr />
|
33
|
+
<ol>
|
34
|
+
|
35
|
+
<li id="fn:1">
|
36
|
+
<span class="glossary name">Glossary </span>: <p>A section at the end … <a href="#fnref:1" title="return to article" class="reversefootnote"> ↩</a></p>
|
37
|
+
</li>
|
38
|
+
|
39
|
+
<li id="fn:2">
|
40
|
+
<span class="glossary name">& </span><span class="glossary sort" style="display:none">ampersand</span>: <p>A punctuation mark … <a href="#fnref:2" title="return to article" class="reversefootnote"> ↩</a></p>
|
41
|
+
</li>
|
42
|
+
|
43
|
+
</ol>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
|
47
|
+
</body>
|
48
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Glossary Test}
|
3
|
+
\input{mmd-article-begin-doc}
|
4
|
+
MultiMarkdown has a special format for footnotes that should represent
|
5
|
+
glossary terms. This doesn't make much difference in XHTML (because there is
|
6
|
+
no such thing as a glossary in XHTML), but can be used to generate a glossary
|
7
|
+
within LaTeX documents.
|
8
|
+
|
9
|
+
For example, let's have an entry for \texttt{glossary}.\newglossaryentry{Glossary }{name={Glossary },description={A section at the end {\ldots}}}\glsadd{Glossary } And what about
|
10
|
+
ampersands?\newglossaryentry{& }{sort={ampersand},name={\& },description={A punctuation mark {\ldots}}}\glsadd{& }
|
11
|
+
|
12
|
+
Since we want the ampersand entry to be sorted with the a's, and not with
|
13
|
+
symbols, we put in the optional sort key \texttt{ampersand} to control sorting.
|
14
|
+
|
15
|
+
\begin{verbatim}
|
16
|
+
[^glossary]: glossary: Glossary
|
17
|
+
A section at the end ...
|
18
|
+
|
19
|
+
[^amp]: glossary: & (ampersand)
|
20
|
+
A punctuation mark ...
|
21
|
+
\end{verbatim}
|
22
|
+
|
23
|
+
|
24
|
+
\input{mmd-memoir-footer}
|
25
|
+
|
26
|
+
\end{document}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Glossary Test
|
3
|
+
CSS: http://fletcherpenney.net/css/document.css
|
4
|
+
latex input: mmd-article-begin-doc
|
5
|
+
latex footer: mmd-memoir-footer
|
6
|
+
|
7
|
+
MultiMarkdown has a special format for footnotes that should represent
|
8
|
+
glossary terms. This doesn't make much difference in XHTML (because there is
|
9
|
+
no such thing as a glossary in XHTML), but can be used to generate a glossary
|
10
|
+
within LaTeX documents.
|
11
|
+
|
12
|
+
For example, let's have an entry for `glossary`.[^glossary] And what about
|
13
|
+
ampersands?[^amp]
|
14
|
+
|
15
|
+
Since we want the ampersand entry to be sorted with the a's, and not with
|
16
|
+
symbols, we put in the optional sort key `ampersand` to control sorting.
|
17
|
+
|
18
|
+
[^glossary]: glossary: Glossary
|
19
|
+
A section at the end ...
|
20
|
+
|
21
|
+
[^amp]: glossary: & (ampersand)
|
22
|
+
A punctuation mark ...
|
23
|
+
|
24
|
+
[^glossary]: glossary: Glossary
|
25
|
+
A section at the end ...
|
26
|
+
|
27
|
+
[^amp]: glossary: & (ampersand)
|
28
|
+
A punctuation mark ...
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>MultiMarkdown Headers Test</title>
|
7
|
+
<meta name="latexmode" content="memoir"/>
|
8
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
9
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
|
13
|
+
<h3 id="normalheader">Normal Header</h3>
|
14
|
+
|
15
|
+
<p>plain text</p>
|
16
|
+
|
17
|
+
<h3 id="normalheaderwithtrailingspace">Normal Header with trailing space</h3>
|
18
|
+
|
19
|
+
<h2 id="normalheaderwithtrailingspace">Normal Header with trailing space</h2>
|
20
|
+
|
21
|
+
<p>plain text</p>
|
22
|
+
|
23
|
+
<h3 id="headerwithlink">Header with <a href="http://www.google.com">Link</a></h3>
|
24
|
+
|
25
|
+
<p>plain text</p>
|
26
|
+
|
27
|
+
<h3 id="headerwithlink">Header with <a href="http://www.google.com">Link</a></h3>
|
28
|
+
|
29
|
+
<p>and more plain text</p>
|
30
|
+
|
31
|
+
<h3 id="headerwithlinkandspace">Header with <a href="http://www.google.com">Link</a> and space</h3>
|
32
|
+
|
33
|
+
<p>and more plain text</p>
|
34
|
+
|
35
|
+
<p>The following should still be detected as headers:</p>
|
36
|
+
|
37
|
+
<h2 id="brokenlabeltext">Broken label [ text [</h2>
|
38
|
+
|
39
|
+
<h3 id="label">Test Header 2 and</h3>
|
40
|
+
|
41
|
+
<h3 id="brokenreferencelinklabellabel2">Broken Reference Link [label][label2]</h3>
|
42
|
+
|
43
|
+
<h3 id="referencelinknotlabellabel">Reference link not label <a href="http://example.com/">label</a></h3>
|
44
|
+
|
45
|
+
<h3 id="linknotlabel">Link <a href="http://example.net/">not label</a></h3>
|
46
|
+
|
47
|
+
<p>And link to [label2] and <a href="http://example.com/">label1</a> and <a href="#label">label</a>.</p>
|
48
|
+
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{MultiMarkdown Headers Test}
|
3
|
+
\def\latexmode{memoir}
|
4
|
+
\input{mmd-article-begin-doc}
|
5
|
+
\section{Normal Header}
|
6
|
+
\label{normalheader}
|
7
|
+
|
8
|
+
plain text
|
9
|
+
|
10
|
+
\section{Normal Header with trailing space}
|
11
|
+
\label{normalheaderwithtrailingspace}
|
12
|
+
|
13
|
+
\chapter{Normal Header with trailing space}
|
14
|
+
\label{normalheaderwithtrailingspace}
|
15
|
+
|
16
|
+
plain text
|
17
|
+
|
18
|
+
\section{Header with \href{http://www.google.com}{Link}}
|
19
|
+
\label{headerwithlink}
|
20
|
+
|
21
|
+
plain text
|
22
|
+
|
23
|
+
\section{Header with \href{http://www.google.com}{Link}}
|
24
|
+
\label{headerwithlink}
|
25
|
+
|
26
|
+
and more plain text
|
27
|
+
|
28
|
+
\section{Header with \href{http://www.google.com}{Link} and space}
|
29
|
+
\label{headerwithlinkandspace}
|
30
|
+
|
31
|
+
and more plain text
|
32
|
+
|
33
|
+
The following should still be detected as headers:
|
34
|
+
|
35
|
+
\chapter{Broken label [ text [}
|
36
|
+
\label{brokenlabeltext}
|
37
|
+
|
38
|
+
\section{Test Header 2 and}
|
39
|
+
\label{label}
|
40
|
+
|
41
|
+
\section{Broken Reference Link [label][label2]}
|
42
|
+
\label{brokenreferencelinklabellabel2}
|
43
|
+
|
44
|
+
\section{Reference link not label \href{http://example.com/}{label}}
|
45
|
+
\label{referencelinknotlabellabel}
|
46
|
+
|
47
|
+
\section{Link \href{http://example.net/}{not label}}
|
48
|
+
\label{linknotlabel}
|
49
|
+
|
50
|
+
And link to [label2] and \href{http://example.com/}{label1}\footnote{\href{http://example.com/}{http:/\slash example.com\slash }} and label (\autoref{label}).
|
51
|
+
|
52
|
+
\input{mmd-memoir-footer}
|
53
|
+
|
54
|
+
\end{document}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: MultiMarkdown Headers 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
|
+
## Normal Header ##
|
9
|
+
|
10
|
+
|
11
|
+
plain text
|
12
|
+
|
13
|
+
Normal Header with trailing space
|
14
|
+
---------------------------------
|
15
|
+
|
16
|
+
Normal Header with trailing space
|
17
|
+
=================================
|
18
|
+
|
19
|
+
plain text
|
20
|
+
|
21
|
+
## Header with [Link](http://www.google.com) ##
|
22
|
+
|
23
|
+
plain text
|
24
|
+
|
25
|
+
|
26
|
+
Header with [Link](http://www.google.com)
|
27
|
+
-----------------------------------------
|
28
|
+
|
29
|
+
and more plain text
|
30
|
+
|
31
|
+
Header with [Link](http://www.google.com) and space
|
32
|
+
---------------------------------------------------
|
33
|
+
|
34
|
+
and more plain text
|
35
|
+
|
36
|
+
|
37
|
+
The following should still be detected as headers:
|
38
|
+
|
39
|
+
# Broken label [ text [ #
|
40
|
+
|
41
|
+
## Test Header 2 and [label] ##
|
42
|
+
|
43
|
+
## Broken Reference Link [label] [label2] ##
|
44
|
+
|
45
|
+
## Reference link not label [label] [label1] ##
|
46
|
+
|
47
|
+
## Link [not label](http://example.net/) ##
|
48
|
+
|
49
|
+
[label1]: http://example.com/
|
50
|
+
|
51
|
+
And link to [label2] and [label1] and [label].
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>Line Break Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<p>This is a paragraph.
|
13
|
+
This is the same paragraph.</p>
|
14
|
+
|
15
|
+
<p>New paragraph.<br/>
|
16
|
+
Second line in same paragraph.</p>
|
17
|
+
|
18
|
+
<p>New paragraph.<br/>
|
19
|
+
Second line in same paragraph with linebreak at end. </p>
|
20
|
+
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
\input{mmd-article-header}
|
2
|
+
\def\mytitle{Line Break Test}
|
3
|
+
\input{mmd-article-begin-doc}
|
4
|
+
This is a paragraph.
|
5
|
+
This is the same paragraph.
|
6
|
+
|
7
|
+
New paragraph.\\
|
8
|
+
Second line in same paragraph.
|
9
|
+
|
10
|
+
New paragraph.\\
|
11
|
+
Second line in same paragraph with linebreak at end.
|
12
|
+
|
13
|
+
\input{mmd-memoir-footer}
|
14
|
+
|
15
|
+
\end{document}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
latex input: mmd-article-header
|
2
|
+
Title: Line Break Test
|
3
|
+
latex input: mmd-article-begin-doc
|
4
|
+
latex footer: mmd-memoir-footer
|
5
|
+
|
6
|
+
|
7
|
+
This is a paragraph.
|
8
|
+
This is the same paragraph.
|
9
|
+
|
10
|
+
New paragraph.
|
11
|
+
Second line in same paragraph.
|
12
|
+
|
13
|
+
New paragraph.
|
14
|
+
Second line in same paragraph with linebreak at end.
|
15
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<meta name="latexinput" content="mmd-article-header"/>
|
6
|
+
<title>Link Attributes Test</title>
|
7
|
+
<meta name="latexinput" content="mmd-article-begin-doc"/>
|
8
|
+
<meta name="latexfooter" content="mmd-memoir-footer"/>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<p>This is a formatted <img src="http://path.to/image" alt="image" id="image" title="Image title" style="height:400px;width:40px;" /> and a <a href="http://path.to/link.html" title="Some Link" class="external" style="border: solid black 1px;">link</a> with attributes.</p>
|
13
|
+
|
14
|
+
<figure>
|
15
|
+
<img src="http://path.to/image" alt="image2" id="image2" title="Image title" style="height:400px;" />
|
16
|
+
<figcaption>image2</figcaption></figure>
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<figure>
|
21
|
+
<img src="http://path.to/image" alt="image3" id="image3" title="Image title" style="width:40px;" />
|
22
|
+
<figcaption>image3</figcaption></figure>
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
<figure>
|
28
|
+
<img src="http://path.to/image" alt="image4" id="image4" title="Image title" />
|
29
|
+
<figcaption>image4</figcaption></figure>
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
<p>And <a href="http://path.to/link.html" title="Some Link" class="external" style="border: solid black 1px;">the link</a>, <a href="http://path.to/link.html" title="Some Link" class="external" style="border: solid black 1px;">link</a> , and <a href="http://path.to/link.html" title="Some Link" class="external" style="border: solid black 1px;"></a> again.</p>
|
36
|
+
|
37
|
+
<p><a href="http://path.to/link.html" title="Some Link" class="external" style="border: solid black 1px;">link</a></p>
|
38
|
+
|
39
|
+
<p><a href="http://path.to/link.html" title="Some Link" class="external" style="border: solid black 1px;">the link</a></p>
|
40
|
+
|
41
|
+
<p>Test various identifiers:</p>
|
42
|
+
|
43
|
+
<p><a href="http://path.to/link-a.html">link-a</a></p>
|
44
|
+
|
45
|
+
<p><a href="http://path.to/link-1.html">link–1</a></p>
|
46
|
+
|
47
|
+
<p><a href="http://path.to/link--2.html">link–2</a></p>
|
48
|
+
|
49
|
+
<p><a href="http://path.to/link--a.html">link–a</a></p>
|
50
|
+
|
51
|
+
<p><a href="http://path.to/link---1.html">link—1</a></p>
|
52
|
+
|
53
|
+
<p>Test link and markup <img src="http://path.to/image" alt="and this but not that" id="image-attr" title="Test *this* and **this**" /></p>
|
54
|
+
|
55
|
+
</body>
|
56
|
+
</html>
|