This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
<p>This is <sup id="fnref:paragraph"><a href="#fn:paragraph" class="footnote" rel="footnote" role="doc-noteref">1</a></sup><sup id="fnref:header"><a href="#fn:header" class="footnote" rel="footnote" role="doc-noteref">2</a></sup><sup id="fnref:blockquote"><a href="#fn:blockquote" class="footnote" rel="footnote" role="doc-noteref">3</a></sup><sup id="fnref:codeblock"><a href="#fn:codeblock" class="footnote" rel="footnote" role="doc-noteref">4</a></sup><sup id="fnref:list"><a href="#fn:list" class="footnote" rel="footnote" role="doc-noteref">5</a></sup><sup id="fnref:table"><a href="#fn:table" class="footnote" rel="footnote" role="doc-noteref">6</a></sup><sup id="fnref:hrule"><a href="#fn:hrule" class="footnote" rel="footnote" role="doc-noteref">7</a></sup><sup id="fnref:mathblock"><a href="#fn:mathblock" class="footnote" rel="footnote" role="doc-noteref">8</a></sup><sup id="fnref:html"><a href="#fn:html" class="footnote" rel="footnote" role="doc-noteref">9</a></sup></p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:paragraph">
|
||||
|
||||
<p>A paragraph <a href="#fnref:paragraph" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:header">
|
||||
|
||||
<h1 id="a-header">A header <a href="#fnref:header" class="reversefootnote" role="doc-backlink">↩</a></h1>
|
||||
</li>
|
||||
<li id="fn:blockquote">
|
||||
|
||||
<blockquote>
|
||||
<p>blockquote</p>
|
||||
|
||||
<p>paragraph <a href="#fnref:blockquote" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</blockquote>
|
||||
</li>
|
||||
<li id="fn:codeblock">
|
||||
|
||||
<pre><code>codeblock
|
||||
</code></pre>
|
||||
<p><a href="#fnref:codeblock" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:list">
|
||||
|
||||
<ul>
|
||||
<li>item 1</li>
|
||||
<li>item 2
|
||||
<ul>
|
||||
<li>
|
||||
<p>sub item</p>
|
||||
|
||||
<blockquote>
|
||||
<p>blockquote</p>
|
||||
|
||||
<h1 id="header">header <a href="#fnref:list" class="reversefootnote" role="doc-backlink">↩</a></h1>
|
||||
</blockquote>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li id="fn:table">
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>a</td>
|
||||
<td>b</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>c</td>
|
||||
<td>d</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><a href="#fnref:table" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:hrule">
|
||||
|
||||
<hr />
|
||||
<p><a href="#fnref:hrule" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:mathblock">
|
||||
|
||||
\[x + 2\]
|
||||
<p><a href="#fnref:mathblock" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:html">
|
||||
|
||||
<div>test
|
||||
</div>
|
||||
<p><a href="#fnref:html" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
footnote_backlink_inline: true
|
||||
@@ -0,0 +1,38 @@
|
||||
This is [^paragraph][^header][^blockquote][^codeblock][^list][^table][^hrule][^mathblock][^html]
|
||||
|
||||
[^paragraph]:
|
||||
A paragraph
|
||||
|
||||
[^header]:
|
||||
# A header
|
||||
|
||||
[^blockquote]:
|
||||
> blockquote
|
||||
>
|
||||
> paragraph
|
||||
|
||||
[^codeblock]:
|
||||
codeblock
|
||||
|
||||
[^list]:
|
||||
* item 1
|
||||
* item 2
|
||||
* sub item
|
||||
|
||||
> blockquote
|
||||
>
|
||||
> # header
|
||||
|
||||
[^table]:
|
||||
| a | b |
|
||||
| c | d |
|
||||
|
||||
[^hrule]:
|
||||
***
|
||||
|
||||
[^mathblock]:
|
||||
$$x + 2$$
|
||||
|
||||
[^html]:
|
||||
<div>test
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
<p>Some footnote here<sup id="fnref:fn"><a href="#fn:fn" class="footnote" rel="footnote" role="doc-noteref">1</a></sup></p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:fn">
|
||||
<p>Some text here <a href="#fnref:fn" class="reversefootnote" role="doc-backlink">text &8617; <img /></a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
:footnote_backlink: 'text &8617; <img />'
|
||||
@@ -0,0 +1,3 @@
|
||||
Some footnote here[^fn]
|
||||
|
||||
[^fn]: Some text here
|
||||
@@ -0,0 +1,17 @@
|
||||
<p>Some para.</p>
|
||||
|
||||
<blockquote>
|
||||
<p>blockquote</p>
|
||||
</blockquote>
|
||||
|
||||
<ul>
|
||||
<li>a list
|
||||
with some text</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>other list</li>
|
||||
</ul>
|
||||
<pre><code>code
|
||||
</code></pre>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
Some para.
|
||||
|
||||
\begin{quote}
|
||||
blockquote
|
||||
\end{quote}
|
||||
|
||||
\begin{itemize}
|
||||
\item{} a list
|
||||
with some text
|
||||
\end{itemize}
|
||||
|
||||
\begin{itemize}
|
||||
\item{} other list
|
||||
\end{itemize}
|
||||
\begin{verbatim}code
|
||||
\end{verbatim}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
Some para.
|
||||
|
||||
[^footnote]: ignored definition
|
||||
[^footnote]: Some footnote text
|
||||
|
||||
> blockquote
|
||||
|
||||
[^other]: some
|
||||
foot
|
||||
|
||||
note text
|
||||
|
||||
* a list
|
||||
with some text
|
||||
|
||||
[^tnote]: foot note
|
||||
|
||||
* other list
|
||||
^
|
||||
code
|
||||
|
||||
[^1]:
|
||||
> a blockquote
|
||||
and some para
|
||||
@@ -0,0 +1,12 @@
|
||||
<p>This is a<sup id="fnref:ab"><a href="#fn:ab" class="footnote" rel="footnote" role="doc-noteref">[footnote 1]</a></sup> footnote<sup id="fnref:ab:1"><a href="#fn:ab" class="footnote" rel="footnote" role="doc-noteref">[footnote 1]</a></sup>. And another<sup id="fnref:bc"><a href="#fn:bc" class="footnote" rel="footnote" role="doc-noteref">[footnote 2]</a></sup>.</p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:ab">
|
||||
<p>Some text. <a href="#fnref:ab" class="reversefootnote" role="doc-backlink">↩</a> <a href="#fnref:ab:1" class="reversefootnote" role="doc-backlink">↩<sup>2</sup></a></p>
|
||||
</li>
|
||||
<li id="fn:bc">
|
||||
<p>Some other text. <a href="#fnref:bc" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
:footnote_link_text: "[footnote %s]"
|
||||
@@ -0,0 +1,4 @@
|
||||
This is a[^ab] footnote[^ab]. And another[^bc].
|
||||
|
||||
[^ab]: Some text.
|
||||
[^bc]: Some other text.
|
||||
@@ -0,0 +1,12 @@
|
||||
<p>This is a footnote<sup id="fnref:ab"><a href="#fn:ab" class="footnote" rel="footnote" role="doc-noteref">35</a></sup>. And another<sup id="fnref:bc"><a href="#fn:bc" class="footnote" rel="footnote" role="doc-noteref">36</a></sup>.</p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol start="35">
|
||||
<li id="fn:ab">
|
||||
<p>Some text. <a href="#fnref:ab" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:bc">
|
||||
<p>Some other text. <a href="#fnref:bc" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1,2 @@
|
||||
This is a footnote\footnote{Some text.}. And another\footnote{Some other text.}.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
:footnote_nr: 35
|
||||
@@ -0,0 +1,4 @@
|
||||
This is a footnote[^ab]. And another[^bc].
|
||||
|
||||
[^ab]: Some text.
|
||||
[^bc]: Some other text.
|
||||
@@ -0,0 +1,12 @@
|
||||
<p>This is a<sup id="fnref:adf123-ab"><a href="#fn:adf123-ab" class="footnote" rel="footnote" role="doc-noteref">1</a></sup> footnote<sup id="fnref:adf123-ab:1"><a href="#fn:adf123-ab" class="footnote" rel="footnote" role="doc-noteref">1</a></sup>. And another<sup id="fnref:adf123-bc"><a href="#fn:adf123-bc" class="footnote" rel="footnote" role="doc-noteref">2</a></sup>.</p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:adf123-ab">
|
||||
<p>Some text. <a href="#fnref:adf123-ab" class="reversefootnote" role="doc-backlink">↩</a> <a href="#fnref:adf123-ab:1" class="reversefootnote" role="doc-backlink">↩<sup>2</sup></a></p>
|
||||
</li>
|
||||
<li id="fn:adf123-bc">
|
||||
<p>Some other text. <a href="#fnref:adf123-bc" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
:footnote_prefix: adf123-
|
||||
@@ -0,0 +1,4 @@
|
||||
This is a[^ab] footnote[^ab]. And another[^bc].
|
||||
|
||||
[^ab]: Some text.
|
||||
[^bc]: Some other text.
|
||||
@@ -0,0 +1,17 @@
|
||||
<p>Lorem ipsum<sup id="fnref:first"><a href="#fn:first" class="footnote" rel="footnote" role="doc-noteref">1</a></sup> dolor sit amet.</p>
|
||||
|
||||
<p>Lorem ipsum<sup id="fnref:second"><a href="#fn:second" class="footnote" rel="footnote" role="doc-noteref">2</a></sup> dolor sit amet.</p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:first">
|
||||
<p>Consecutur adisping.<sup id="fnref:third"><a href="#fn:third" class="footnote" rel="footnote" role="doc-noteref">3</a></sup> <a href="#fnref:first" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:second">
|
||||
<p>Sed ut perspiciatis unde omnis. <a href="#fnref:second" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:third">
|
||||
<p>Sed ut. <a href="#fnref:third" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
Lorem ipsum[^first] dolor sit amet.
|
||||
|
||||
Lorem ipsum[^second] dolor sit amet.
|
||||
|
||||
[^first]: Consecutur adisping.[^third]
|
||||
|
||||
[^second]: Sed ut perspiciatis unde omnis.
|
||||
|
||||
[^third]: Sed ut.
|
||||
@@ -0,0 +1,46 @@
|
||||
<p>This is some *ref.<sup id="fnref:fn"><a href="#fn:fn" class="footnote" rel="footnote" role="doc-noteref">1</a></sup></p>
|
||||
|
||||
<blockquote>
|
||||
<p>a blockquote <sup id="fnref:3"><a href="#fn:3" class="footnote" rel="footnote" role="doc-noteref">2</a></sup></p>
|
||||
</blockquote>
|
||||
|
||||
<ul>
|
||||
<li>and a list item <sup id="fnref:1"><a href="#fn:1" class="footnote" rel="footnote" role="doc-noteref">3</a></sup></li>
|
||||
</ul>
|
||||
|
||||
<h1>And a header<sup id="fnref:now"><a href="#fn:now" class="footnote" rel="footnote" role="doc-noteref">4</a></sup></h1>
|
||||
|
||||
<p>A marker without a definition [^without].</p>
|
||||
|
||||
<p>A marker <sup id="fnref:empty"><a href="#fn:empty" class="footnote" rel="footnote" role="doc-noteref">5</a></sup> used twice<sup id="fnref:fn:1"><a href="#fn:fn" class="footnote" rel="footnote" role="doc-noteref">1</a></sup> and thrice<sup id="fnref:fn:2"><a href="#fn:fn" class="footnote" rel="footnote" role="doc-noteref">1</a></sup>.</p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:fn">
|
||||
<p>Some foot note text <a href="#fnref:fn" class="reversefootnote" role="doc-backlink">↩</a> <a href="#fnref:fn:1" class="reversefootnote" role="doc-backlink">↩<sup>2</sup></a> <a href="#fnref:fn:2" class="reversefootnote" role="doc-backlink">↩<sup>3</sup></a></p>
|
||||
</li>
|
||||
<li id="fn:3">
|
||||
<p>other text
|
||||
with more lines</p>
|
||||
|
||||
<blockquote>
|
||||
<p>and a quote</p>
|
||||
</blockquote>
|
||||
<p><a href="#fnref:3" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:1">
|
||||
<p>some <em>text</em> <a href="#fnref:1" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:now">
|
||||
|
||||
<pre><code>code block
|
||||
continued here
|
||||
</code></pre>
|
||||
<p><a href="#fnref:now" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="fn:empty">
|
||||
|
||||
<p><a href="#fnref:empty" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
This is some *ref.\footnote{Some foot note text}
|
||||
|
||||
\begin{quote}
|
||||
a blockquote \footnote{other text
|
||||
with more lines
|
||||
|
||||
\begin{quote}
|
||||
and a quote
|
||||
\end{quote}}
|
||||
\end{quote}
|
||||
|
||||
\begin{itemize}
|
||||
\item{} and a list item \footnote{some \emph{text}}
|
||||
\end{itemize}
|
||||
|
||||
\section*{And a header\footnote{\begin{verbatim}code block
|
||||
continued here
|
||||
\end{verbatim}}}
|
||||
|
||||
A marker without a definition {[}\^{}without{]}.
|
||||
|
||||
A marker \footnote{} used twice\footnote{Some foot note text} and thrice\footnote{Some foot note text}.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
:auto_ids: false
|
||||
:entity_output: :symbolic
|
||||
@@ -0,0 +1,27 @@
|
||||
This is some *ref.[^fn]
|
||||
|
||||
[^fn]: Some foot note text
|
||||
{: .class}
|
||||
|
||||
> a blockquote [^3]
|
||||
|
||||
* and a list item [^1]
|
||||
|
||||
# And a header[^now]
|
||||
|
||||
[^1]:some *text*
|
||||
[^3]: other text
|
||||
with more lines
|
||||
|
||||
> and a quote
|
||||
|
||||
A marker without a definition [^without].
|
||||
|
||||
A marker [^empty] used twice[^fn] and thrice[^fn].
|
||||
|
||||
[^now]:
|
||||
|
||||
code block
|
||||
continued here
|
||||
|
||||
[^empty]:
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>Footnote \` text <a href="#fnref:1" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<p>Some para with a<sup id="fnref:1"><a href="#fn:1" class="footnote" rel="footnote" role="doc-noteref">1</a></sup> footnote.</p>
|
||||
|
||||
<p>And another para.</p>
|
||||
@@ -0,0 +1 @@
|
||||
:entity_output: :numeric
|
||||
@@ -0,0 +1,8 @@
|
||||
* footnotes will be placed here
|
||||
{:footnotes}
|
||||
|
||||
Some para with a[^1] footnote.
|
||||
|
||||
[^1]: Footnote \\\` text
|
||||
|
||||
And another para.
|
||||
@@ -0,0 +1,14 @@
|
||||
<h1>Something</h1>
|
||||
<p>something<sup id="fnref:note1"><a href="#fn:note1" class="footnote" rel="footnote" role="doc-noteref">1</a></sup>.</p>
|
||||
|
||||
<h1>Footnotes</h1>
|
||||
|
||||
<h1>Test</h1>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:note1">
|
||||
|
||||
<p>A note <a href="#fnref:note1" class="reversefootnote" role="doc-backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1,2 @@
|
||||
:auto_ids: false
|
||||
:entity_output: :symbolic
|
||||
@@ -0,0 +1,52 @@
|
||||
# Something
|
||||
something[^note1].
|
||||
|
||||
# Footnotes
|
||||
[^note1]:
|
||||
A note
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Test
|
||||
@@ -0,0 +1,9 @@
|
||||
<p>Some footnote here<sup id="fnref:fn"><a href="#fn:fn" class="footnote" rel="footnote" role="doc-noteref">1</a></sup></p>
|
||||
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<ol>
|
||||
<li id="fn:fn">
|
||||
<p>Some text here</p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
:footnote_backlink: ''
|
||||
@@ -0,0 +1,3 @@
|
||||
Some footnote here[^fn]
|
||||
|
||||
[^fn]: Some text here
|
||||
Reference in New Issue
Block a user