mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
Update Markdown formatter to support footnotes and hard wraps natively
This commit is contained in:
parent
cbd324c35b
commit
464325c6f6
9 changed files with 106 additions and 19 deletions
24
tests/_data/formatter/markdownextra.target2.html
Normal file
24
tests/_data/formatter/markdownextra.target2.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<div>
|
||||
|
||||
<pre><code>This is *true* markdown text.
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
<p>This sentence has a footnote. <sup id="user_content_fnref:user_content_1"><a href="#fn:user_content_1" class="footnote-ref">1</a></sup></p>
|
||||
|
||||
<pre><code>fenced code block
|
||||
</code></pre>
|
||||
|
||||
<table><thead><tr><th>Hello</th>
|
||||
<th>World</th>
|
||||
</tr></thead><tbody><tr><td>Foo</td>
|
||||
<td>Bar</td>
|
||||
</tr><tr><td>Baz</td>
|
||||
<td>Rhymix</td>
|
||||
</tr></tbody></table><div>
|
||||
<hr /><ol><li id="user_content_fn:user_content_1">
|
||||
<p>Here's the footnote content. <a href="#fnref:user_content_1" class="footnote-backref">↩︎</a></p>
|
||||
</li>
|
||||
|
||||
</ol></div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue