Add support for org-entities (e.g. ndash, mdash, \Aacute)
This commit is contained in:
parent
7c082fc627
commit
a55ed30e3d
7 changed files with 485 additions and 6 deletions
2
org/testdata/blocks.html
vendored
2
org/testdata/blocks.html
vendored
|
@ -71,7 +71,7 @@ paragraphs
|
|||
</li>
|
||||
<li>
|
||||
<p>
|
||||
...
|
||||
…
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
2
org/testdata/headlines.html
vendored
2
org/testdata/headlines.html
vendored
|
@ -3,5 +3,5 @@
|
|||
<h1>Headline with TODO status</h1>
|
||||
<h1>Headline with tags & priority</h1>
|
||||
<p>
|
||||
this one is cheating a little as tags are ALWAYS printed right aligned to a given column number...
|
||||
this one is cheating a little as tags are ALWAYS printed right aligned to a given column number…
|
||||
</p>
|
||||
|
|
32
org/testdata/misc.html
vendored
32
org/testdata/misc.html
vendored
|
@ -28,6 +28,34 @@ crazy ain't it?
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/46">#46</a>: Support for symbols like ndash and mdash</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
ndash –
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
mdash —
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ellipsis …
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
acute Á and so on
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
note that —— is replaced with 2 mdashes and …. becomes ellipsis+. and so on - that's how org also does it
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/47">#47:</a> Consecutive <code>code</code> wrapped text gets joined</h3>
|
||||
<p>
|
||||
either <code>this</code> or <code>that</code> foo.
|
||||
|
@ -89,7 +117,7 @@ sub bullet
|
|||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/77">#77</a>: Recognize <code class="verbatim">code</code>--- as code plus dash</h3>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/77">#77</a>: Recognize <code class="verbatim">code</code>— as code plus dash</h3>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/78">#78</a>: Emphasis at beginning of line</h3>
|
||||
<p>
|
||||
<em>italics</em>
|
||||
|
@ -101,7 +129,7 @@ Text
|
|||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/82">#82</a>: Crash on empty headline</h3>
|
||||
<h4></h4>
|
||||
<p>
|
||||
just a space as title...
|
||||
just a space as title…
|
||||
</p>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/84">#84</a>: Paragraphs that are not followed by an empty line are not parsed correctly</h3>
|
||||
<h4>Foo</h4>
|
||||
|
|
9
org/testdata/misc.org
vendored
9
org/testdata/misc.org
vendored
|
@ -17,6 +17,15 @@ crazy ain't it?
|
|||
| *foo* | foo |
|
||||
| *bar* | bar |
|
||||
#+HTML: </div>
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/46][#46]]: Support for symbols like ndash and mdash
|
||||
- ndash --
|
||||
- mdash ---
|
||||
- ellipsis ...
|
||||
- acute \Aacute and so on
|
||||
- note that ------ is replaced with 2 mdashes and .... becomes ellipsis+. and so on - that's how org also does it
|
||||
|
||||
|
||||
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/47][#47:]] Consecutive ~code~ wrapped text gets joined
|
||||
either ~this~ or ~that~ foo.
|
||||
either ~this~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue