Split example.org into separate files
... hopefully correctly This will hopefully improve ease of developing (more granular test results) and prepares us for adding example org->html renders for gh-pages
This commit is contained in:
parent
6adad92e8b
commit
fb6bc2d7de
18 changed files with 636 additions and 662 deletions
21
org/testdata/blocks.html
vendored
Normal file
21
org/testdata/blocks.html
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<div class="captioned">
|
||||
<div class="highlight"><pre>echo a bash source block</pre></div>
|
||||
<p class="caption">
|
||||
block!
|
||||
</p>
|
||||
</div>
|
||||
<div class="highlight"><pre>a source block without a language
|
||||
and a second line
|
||||
and a third one</pre></div>
|
||||
<pre class="example">
|
||||
an example block
|
||||
with multiple lines
|
||||
</pre>
|
||||
<blockquote>
|
||||
<p>
|
||||
Mongodb is very webscale
|
||||
</p>
|
||||
<p>
|
||||
and quote blocks can contain multiple paragraphs
|
||||
</p>
|
||||
</blockquote>
|
21
org/testdata/blocks.org
vendored
Normal file
21
org/testdata/blocks.org
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
#+CAPTION: block!
|
||||
#+BEGIN_SRC bash
|
||||
echo a bash source block
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC
|
||||
a source block without a language
|
||||
and a second line
|
||||
and a third one
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_EXAMPLE foo bar baz
|
||||
an example block
|
||||
with multiple lines
|
||||
#+END_EXAMPLE
|
||||
|
||||
#+BEGIN_QUOTE
|
||||
Mongodb is very webscale
|
||||
|
||||
and quote blocks can contain multiple paragraphs
|
||||
#+END_QUOTE
|
23
org/testdata/captions.html
vendored
Normal file
23
org/testdata/captions.html
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<p>
|
||||
Anything can be captioned. Also captions are not real, correct captions but just a paragraph below the element (bothe wrapped into a div)
|
||||
</p>
|
||||
<div class="captioned">
|
||||
<div class="highlight"><pre>echo "i have a caption!"</pre></div>
|
||||
<p class="caption">
|
||||
captioned soure block
|
||||
</p>
|
||||
</div>
|
||||
<div class="captioned">
|
||||
<p>
|
||||
<video src="my-video.mp4" title="my-video.mp4">my-video.mp4</video>
|
||||
</p>
|
||||
<p class="caption">
|
||||
captioned link (video in this case)
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
note that only that one line is captioned, not the whole paragraph
|
||||
</p>
|
||||
<p>
|
||||
also, normal text lines can't be captioned
|
||||
</p>
|
13
org/testdata/captions.org
vendored
Normal file
13
org/testdata/captions.org
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
Anything can be captioned. Also captions are not real, correct captions but just a paragraph below the element (bothe wrapped into a div)
|
||||
|
||||
#+CAPTION: captioned soure block
|
||||
#+BEGIN_SRC sh
|
||||
echo "i have a caption!"
|
||||
#+END_SRC
|
||||
|
||||
#+CAPTION: captioned link (video in this case)
|
||||
[[my-video.mp4]]
|
||||
note that only that one line is captioned, not the whole paragraph
|
||||
|
||||
#+CAPTION: not happening!
|
||||
also, normal text lines can't be captioned
|
466
org/testdata/example.html
vendored
466
org/testdata/example.html
vendored
|
@ -1,466 +0,0 @@
|
|||
<h1>Motivation</h1>
|
||||
<p>
|
||||
To validate the parser we'll try printing the AST back to org-mode source - if that
|
||||
works we can be kind of sure that the parsing worked.
|
||||
At least I hope so - I would like to get around writing tests for the individual parsing
|
||||
functions...
|
||||
</p>
|
||||
<h2>Paragraphs</h2>
|
||||
<p>
|
||||
Empty lines separate paragraphs.
|
||||
</p>
|
||||
<p>
|
||||
Right?
|
||||
</p>
|
||||
<p>
|
||||
They do!
|
||||
</p>
|
||||
<h2>Headlines with TODO status, priority & tags</h2>
|
||||
<h3>Headline with todo status & priority</h3>
|
||||
<h3>Headline with TODO status</h3>
|
||||
<h3>Headline with tags & priority</h3>
|
||||
<p>
|
||||
this one is cheating a little as tags are ALWAYS printed right aligned to a given column number...
|
||||
</p>
|
||||
<h2>Lists</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 1
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 2 - with <code>inline</code> <em>markup</em>
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 1
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 1
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 2
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 3
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 2
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 3 - and a <a href="https://example.com">link</a>
|
||||
and some lines of text
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
and another subitem
|
||||
</p>
|
||||
<div class="highlight"><pre>echo with a block</pre></div>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
and another one with a table
|
||||
</p>
|
||||
<table>
|
||||
<thead>
|
||||
<th>a</th><th>b</th><th>c</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td><td>2</td><td>3</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
and text with an empty line in between as well!
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 4
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>Inline</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<em>emphasis</em> and a hard line break <br>
|
||||
see?
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>.emphasis with dot border chars.</em>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>emphasis with a slash/inside</em>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>emphasis</em> followed by raw text with slash /
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
->/not an emphasis/<-
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
links with slashes do not become <em>emphasis</em>: <a href="https://somelinkshouldntrenderaccidentalemphasis.com">https://somelinkshouldntrenderaccidentalemphasis.com</a>/ <em>emphasis</em>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<span style="text-decoration: underline;">underlined</span> <strong>bold</strong> <code class="verbatim">verbatim</code> <code>code</code> <del>strikethrough</del>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<strong>bold string with an *asterisk inside</strong>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<code class="verbatim">multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)</code>
|
||||
<em>so this
|
||||
is emphasized</em>
|
||||
</p>
|
||||
<p>
|
||||
/but
|
||||
this
|
||||
is
|
||||
not emphasized/
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
empty emphasis markers like ++ // __ and so on are ignored
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
subscript<sub>sub</sub> and superscript<sup>super</sup>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
links
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
regular link <a href="https://example.com">https://example.com</a> link without description
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link <a href="https://example.com">example.com</a> link with description
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to a file (image) <img src="my-img.png" alt="my-img.png" title="my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to a file (video) <video src="my-video.mp4" title="my-video.mp4">my-video.mp4</video>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to http (image) <img src="http://www.example.com/my-img.png" alt="http://www.example.com/my-img.png" title="http://www.example.com/my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to https (image) <img src="https://www.example.com/my-img.png" alt="https://www.example.com/my-img.png" title="https://www.example.com/my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
auto link, i.e. not inside <code class="verbatim">\[[square brackets]\]</code> <a href="https://www.example.com">https://www.example.com</a>
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>Captions</h2>
|
||||
<p>
|
||||
Anything can be captioned. Also captions are not real, correct captions but just a paragraph below the element (bothe wrapped into a div)
|
||||
</p>
|
||||
<div class="captioned">
|
||||
<div class="highlight"><pre>echo "i have a caption!"</pre></div>
|
||||
<p class="caption">
|
||||
captioned soure block
|
||||
</p>
|
||||
</div>
|
||||
<div class="captioned">
|
||||
<p>
|
||||
<video src="my-video.mp4" title="my-video.mp4">my-video.mp4</video>
|
||||
</p>
|
||||
<p class="caption">
|
||||
captioned link (video in this case)
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
note that only that one line is captioned, not the whole paragraph
|
||||
</p>
|
||||
<p>
|
||||
also, normal text lines can't be captioned
|
||||
</p>
|
||||
<h2>blocks</h2>
|
||||
<div class="captioned">
|
||||
<div class="highlight"><pre>echo a bash source block</pre></div>
|
||||
<p class="caption">
|
||||
bleck!
|
||||
</p>
|
||||
</div>
|
||||
<div class="highlight"><pre>a source block without a language
|
||||
and a second line
|
||||
and a third one</pre></div>
|
||||
<pre class="example">
|
||||
an example block
|
||||
with multiple lines
|
||||
</pre>
|
||||
<blockquote>
|
||||
<p>
|
||||
Mongodb is very webscale
|
||||
</p>
|
||||
<p>
|
||||
and quote blocks can contain multiple paragraphs
|
||||
</p>
|
||||
</blockquote>
|
||||
<h2>issues from goorgeous (free test cases, yay!)</h2>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/29">#29:</a> Support verse block</h3>
|
||||
<div class="verse-block">
|
||||
<p>
|
||||
This
|
||||
<strong>is</strong>
|
||||
verse
|
||||
</p>
|
||||
</div>
|
||||
<div class="custom-block">
|
||||
<p>
|
||||
or even a <strong>totally</strong> <em>custom</em> kind of block
|
||||
crazy ain't it?
|
||||
</p>
|
||||
</div>
|
||||
<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.
|
||||
either <code>this</code>
|
||||
or <code>that</code> foo.
|
||||
</p>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/50">#50</a>: LineBreaks in lists are preserved</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
this list item
|
||||
has
|
||||
multiple
|
||||
linbreaks - but it's still just one paragraph (i.e. no line breaks are rendered)
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
foobar
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
same
|
||||
goes
|
||||
for
|
||||
ordered
|
||||
lists
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
foo
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/68">#68</a>: Quote block with inline markup</h3>
|
||||
<blockquote>
|
||||
<p>
|
||||
<a href="https://www.example.com"><em>this</em> <strong>is</strong> <span style="text-decoration: underline;">markup</span>!</a>
|
||||
</p>
|
||||
</blockquote>
|
||||
<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/75">#75</a>: Not parsing nested lists correctly</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
bullet 1
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
sub bullet
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/78">#78</a>: Emphasis at beginning of line</h3>
|
||||
<p>
|
||||
<em>italics</em>
|
||||
</p>
|
||||
<p>
|
||||
Text
|
||||
<em>italics</em>
|
||||
</p>
|
||||
<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...
|
||||
</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>
|
||||
<p>
|
||||
Foo paragraph.
|
||||
</p>
|
||||
<h4>Bar</h4>
|
||||
<p>
|
||||
Bar paragraph
|
||||
</p>
|
||||
<h2>Footnotes</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
normal footnote reference <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> <sup class="footnote-reference"><a id="footnote-reference-6" href="#footnote-6">6</a></sup>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
further references to the same footnote should not <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> render duplicates in the footnote list
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
inline footnotes are also supported via <sup class="footnote-reference"><a id="footnote-reference-2" href="#footnote-2">2</a></sup>.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="footnotes">
|
||||
<h1 class="footnotes-title">Footnotes</h1>
|
||||
<div class="footnote-definitions">
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-1"><a href="#footnote-reference-1">1</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
<a href="https://www.example.com">https://www.example.com</a>
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
footnotes can contain <strong>markup</strong>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
and other elements
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
like blocks
|
||||
</p>
|
||||
<div class="highlight"><pre>other non-plain</pre></div>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
and tables
|
||||
</p>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td><td>a</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td><td>b</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td><td>c</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-3"><a href="#footnote-reference-3">3</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
<a href="http://example.com/unused-footnote">example.com/unused-footnote</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-4"><a href="#footnote-reference-4">4</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
another unused footnote
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-5"><a href="#footnote-reference-5">5</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
another unused footnote
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-6"><a href="#footnote-reference-6">6</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
Footnotes break after two consecutive empty lines - just like paragraphs - see <a href="https://orgmode.org/worg/dev/org-syntax.html.">https://orgmode.org/worg/dev/org-syntax.html.</a>
|
||||
This shouldn't happen when the definition line and the line after that are empty.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-2"><a href="#footnote-reference-2">2</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
the inline footnote definition
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
196
org/testdata/example.org
vendored
196
org/testdata/example.org
vendored
|
@ -1,196 +0,0 @@
|
|||
#+TITLE: Example org mode file
|
||||
#+AUTHOR: Niklas Fasching
|
||||
#+DESCRIPTION: just some random elements with little explanation
|
||||
|
||||
* Motivation
|
||||
|
||||
To validate the parser we'll try printing the AST back to org-mode source - if that
|
||||
works we can be kind of sure that the parsing worked.
|
||||
At least I hope so - I would like to get around writing tests for the individual parsing
|
||||
functions...
|
||||
|
||||
** Paragraphs
|
||||
|
||||
Empty lines separate paragraphs.
|
||||
|
||||
Right?
|
||||
|
||||
They do!
|
||||
|
||||
** Headlines with TODO status, priority & tags
|
||||
*** TODO [#B] Headline with todo status & priority
|
||||
*** DONE Headline with TODO status
|
||||
*** [#A] Headline with tags & priority :foo:bar:
|
||||
this one is cheating a little as tags are ALWAYS printed right aligned to a given column number...
|
||||
** Lists
|
||||
- unordered list item 1
|
||||
- unordered list item 2 - with ~inline~ /markup/
|
||||
1. ordered sublist item 1
|
||||
a) ordered sublist item 1
|
||||
b) ordered sublist item 2
|
||||
c) ordered sublist item 3
|
||||
2. ordered sublist item 2
|
||||
- unordered list item 3 - and a [[https://example.com][link]]
|
||||
and some lines of text
|
||||
1. and another subitem
|
||||
#+BEGIN_SRC sh
|
||||
echo with a block
|
||||
#+END_SRC
|
||||
2. and another one with a table
|
||||
| a | b | c |
|
||||
|---+---+---|
|
||||
| 1 | 2 | 3 |
|
||||
|
||||
and text with an empty line in between as well!
|
||||
- unordered list item 4
|
||||
|
||||
** Inline
|
||||
- /emphasis/ and a hard line break \\
|
||||
see?
|
||||
- /.emphasis with dot border chars./
|
||||
- /emphasis with a slash/inside/
|
||||
- /emphasis/ followed by raw text with slash /
|
||||
- ->/not an emphasis/<-
|
||||
- links with slashes do not become /emphasis/: [[https://somelinkshouldntrenderaccidentalemphasis.com]]/ /emphasis/
|
||||
- _underlined_ *bold* =verbatim= ~code~ +strikethrough+
|
||||
- *bold string with an *asterisk inside*
|
||||
- =multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)=
|
||||
/so this
|
||||
is emphasized/
|
||||
|
||||
/but
|
||||
this
|
||||
is
|
||||
not emphasized/
|
||||
- empty emphasis markers like ++ // __ and so on are ignored
|
||||
- subscript_{sub} and superscript^{super}
|
||||
- links
|
||||
1. regular link [[https://example.com]] link without description
|
||||
2. regular link [[https://example.com][example.com]] link with description
|
||||
3. regular link to a file (image) [[file:my-img.png]]
|
||||
4. regular link to a file (video) [[my-video.mp4]]
|
||||
5. regular link to http (image) [[http://www.example.com/my-img.png]]
|
||||
6. regular link to https (image) [[https://www.example.com/my-img.png]]
|
||||
7. auto link, i.e. not inside =\[[square brackets]\]= https://www.example.com
|
||||
|
||||
** Captions
|
||||
|
||||
Anything can be captioned. Also captions are not real, correct captions but just a paragraph below the element (bothe wrapped into a div)
|
||||
|
||||
#+CAPTION: captioned soure block
|
||||
#+BEGIN_SRC sh
|
||||
echo "i have a caption!"
|
||||
#+END_SRC
|
||||
|
||||
#+CAPTION: captioned link (video in this case)
|
||||
[[my-video.mp4]]
|
||||
note that only that one line is captioned, not the whole paragraph
|
||||
|
||||
#+CAPTION: not happening!
|
||||
also, normal text lines can't be captioned
|
||||
|
||||
|
||||
** blocks
|
||||
|
||||
#+CAPTION: bleck!
|
||||
#+BEGIN_SRC bash
|
||||
echo a bash source block
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC
|
||||
a source block without a language
|
||||
and a second line
|
||||
and a third one
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_EXAMPLE foo bar baz
|
||||
an example block
|
||||
with multiple lines
|
||||
#+END_EXAMPLE
|
||||
|
||||
#+BEGIN_QUOTE
|
||||
Mongodb is very webscale
|
||||
|
||||
and quote blocks can contain multiple paragraphs
|
||||
#+END_QUOTE
|
||||
|
||||
** issues from goorgeous (free test cases, yay!)
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/29][#29:]] Support verse block
|
||||
#+BEGIN_VERSE
|
||||
This
|
||||
*is*
|
||||
verse
|
||||
#+END_VERSE
|
||||
|
||||
#+BEGIN_CUSTOM
|
||||
or even a *totally* /custom/ kind of block
|
||||
crazy ain't it?
|
||||
#+END_CUSTOM
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/47][#47:]] Consecutive ~code~ wrapped text gets joined
|
||||
either ~this~ or ~that~ foo.
|
||||
either ~this~
|
||||
or ~that~ foo.
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/50][#50]]: LineBreaks in lists are preserved
|
||||
- this list item
|
||||
has
|
||||
multiple
|
||||
linbreaks - but it's still just one paragraph (i.e. no line breaks are rendered)
|
||||
- foobar
|
||||
1. same
|
||||
goes
|
||||
for
|
||||
ordered
|
||||
lists
|
||||
2. foo
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/68][#68]]: Quote block with inline markup
|
||||
#+BEGIN_QUOTE
|
||||
[[https://www.example.com][/this/ *is* _markup_!]]
|
||||
#+END_QUOTE
|
||||
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/77][#77]]: Recognize =code=--- as code plus dash
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/75][#75]]: Not parsing nested lists correctly
|
||||
- bullet 1
|
||||
- sub bullet
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/78][#78]]: Emphasis at beginning of line
|
||||
/italics/
|
||||
|
||||
|
||||
Text
|
||||
/italics/
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/82][#82]]: Crash on empty headline
|
||||
****
|
||||
just a space as title...
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/84][#84]]: Paragraphs that are not followed by an empty line are not parsed correctly
|
||||
**** Foo
|
||||
Foo paragraph.
|
||||
**** Bar
|
||||
Bar paragraph
|
||||
** Footnotes
|
||||
- normal footnote reference [fn:1] [fn:6]
|
||||
- further references to the same footnote should not [fn:1] render duplicates in the footnote list
|
||||
- inline footnotes are also supported via [fn:2:the inline footnote definition].
|
||||
|
||||
* Footnotes
|
||||
[fn:1] https://www.example.com
|
||||
- footnotes can contain *markup*
|
||||
- and other elements
|
||||
- like blocks
|
||||
#+BEGIN_SRC
|
||||
other non-plain
|
||||
#+END_SRC
|
||||
- and tables
|
||||
| 1 | a |
|
||||
| 2 | b |
|
||||
| 3 | c |
|
||||
|
||||
[fn:3] [[http://example.com/unused-footnote][example.com/unused-footnote]]
|
||||
|
||||
[fn:4] another unused footnote
|
||||
|
||||
[fn:5] another unused footnote
|
||||
|
||||
[fn:6]
|
||||
|
||||
Footnotes break after two consecutive empty lines - just like paragraphs - see https://orgmode.org/worg/dev/org-syntax.html.
|
||||
This shouldn't happen when the definition line and the line after that are empty.
|
110
org/testdata/footnotes.html
vendored
Normal file
110
org/testdata/footnotes.html
vendored
Normal file
|
@ -0,0 +1,110 @@
|
|||
<h1>Using some footnotes</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
normal footnote reference <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> <sup class="footnote-reference"><a id="footnote-reference-6" href="#footnote-6">6</a></sup>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
further references to the same footnote should not <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> render duplicates in the footnote list
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
inline footnotes are also supported via <sup class="footnote-reference"><a id="footnote-reference-2" href="#footnote-2">2</a></sup>.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="footnotes">
|
||||
<h1 class="footnotes-title">Footnotes</h1>
|
||||
<div class="footnote-definitions">
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-1"><a href="#footnote-reference-1">1</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
<a href="https://www.example.com">https://www.example.com</a>
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
footnotes can contain <strong>markup</strong>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
and other elements
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
like blocks
|
||||
</p>
|
||||
<div class="highlight"><pre>other non-plain</pre></div>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
and tables
|
||||
</p>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td><td>a</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td><td>b</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td><td>c</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-3"><a href="#footnote-reference-3">3</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
<a href="http://example.com/unused-footnote">example.com/unused-footnote</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-4"><a href="#footnote-reference-4">4</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
another unused footnote
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-5"><a href="#footnote-reference-5">5</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
another unused footnote
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-6"><a href="#footnote-reference-6">6</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
Footnotes break after two consecutive empty lines - just like paragraphs - see <a href="https://orgmode.org/worg/dev/org-syntax.html.">https://orgmode.org/worg/dev/org-syntax.html.</a>
|
||||
This shouldn't happen when the definition line and the line after that are empty.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-2"><a href="#footnote-reference-2">2</a></sup>
|
||||
<div class="footnote-body">
|
||||
<p>
|
||||
the inline footnote definition
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
28
org/testdata/footnotes.org
vendored
Normal file
28
org/testdata/footnotes.org
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
* Using some footnotes
|
||||
- normal footnote reference [fn:1] [fn:6]
|
||||
- further references to the same footnote should not [fn:1] render duplicates in the footnote list
|
||||
- inline footnotes are also supported via [fn:2:the inline footnote definition].
|
||||
|
||||
* Footnotes
|
||||
[fn:1] https://www.example.com
|
||||
- footnotes can contain *markup*
|
||||
- and other elements
|
||||
- like blocks
|
||||
#+BEGIN_SRC
|
||||
other non-plain
|
||||
#+END_SRC
|
||||
- and tables
|
||||
| 1 | a |
|
||||
| 2 | b |
|
||||
| 3 | c |
|
||||
|
||||
[fn:3] [[http://example.com/unused-footnote][example.com/unused-footnote]]
|
||||
|
||||
[fn:4] another unused footnote
|
||||
|
||||
[fn:5] another unused footnote
|
||||
|
||||
[fn:6]
|
||||
|
||||
Footnotes break after two consecutive empty lines - just like paragraphs - see https://orgmode.org/worg/dev/org-syntax.html.
|
||||
This shouldn't happen when the definition line and the line after that are empty.
|
7
org/testdata/headlines.html
vendored
Normal file
7
org/testdata/headlines.html
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<h1>Simple Headline</h1>
|
||||
<h1>Headline with todo status & priority</h1>
|
||||
<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...
|
||||
</p>
|
5
org/testdata/headlines.org
vendored
Normal file
5
org/testdata/headlines.org
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
* Simple Headline
|
||||
* TODO [#B] Headline with todo status & priority
|
||||
* DONE Headline with TODO status
|
||||
* [#A] Headline with tags & priority :foo:bar:
|
||||
this one is cheating a little as tags are ALWAYS printed right aligned to a given column number...
|
109
org/testdata/inline.html
vendored
Normal file
109
org/testdata/inline.html
vendored
Normal file
|
@ -0,0 +1,109 @@
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
<em>emphasis</em> and a hard line break <br>
|
||||
see?
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>.emphasis with dot border chars.</em>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>emphasis with a slash/inside</em>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>emphasis</em> followed by raw text with slash /
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
->/not an emphasis/<-
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
links with slashes do not become <em>emphasis</em>: <a href="https://somelinkshouldntrenderaccidentalemphasis.com">https://somelinkshouldntrenderaccidentalemphasis.com</a>/ <em>emphasis</em>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<span style="text-decoration: underline;">underlined</span> <strong>bold</strong> <code class="verbatim">verbatim</code> <code>code</code> <del>strikethrough</del>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<strong>bold string with an *asterisk inside</strong>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<code class="verbatim">multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)</code>
|
||||
<em>so this
|
||||
is emphasized</em>
|
||||
</p>
|
||||
<p>
|
||||
/but
|
||||
this
|
||||
is
|
||||
not emphasized/
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
empty emphasis markers like ++ // __ and so on are ignored
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
subscript<sub>sub</sub> and superscript<sup>super</sup>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
links
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
regular link <a href="https://example.com">https://example.com</a> link without description
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link <a href="https://example.com">example.com</a> link with description
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to a file (image) <img src="my-img.png" alt="my-img.png" title="my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to a file (video) <video src="my-video.mp4" title="my-video.mp4">my-video.mp4</video>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to http (image) <img src="http://www.example.com/my-img.png" alt="http://www.example.com/my-img.png" title="http://www.example.com/my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
regular link to https (image) <img src="https://www.example.com/my-img.png" alt="https://www.example.com/my-img.png" title="https://www.example.com/my-img.png" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
auto link, i.e. not inside <code class="verbatim">\[[square brackets]\]</code> <a href="https://www.example.com">https://www.example.com</a>
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ul>
|
28
org/testdata/inline.org
vendored
Normal file
28
org/testdata/inline.org
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
- /emphasis/ and a hard line break \\
|
||||
see?
|
||||
- /.emphasis with dot border chars./
|
||||
- /emphasis with a slash/inside/
|
||||
- /emphasis/ followed by raw text with slash /
|
||||
- ->/not an emphasis/<-
|
||||
- links with slashes do not become /emphasis/: [[https://somelinkshouldntrenderaccidentalemphasis.com]]/ /emphasis/
|
||||
- _underlined_ *bold* =verbatim= ~code~ +strikethrough+
|
||||
- *bold string with an *asterisk inside*
|
||||
- =multiline emphasis is
|
||||
supported - and respects MaxEmphasisNewLines (default: 1)=
|
||||
/so this
|
||||
is emphasized/
|
||||
|
||||
/but
|
||||
this
|
||||
is
|
||||
not emphasized/
|
||||
- empty emphasis markers like ++ // __ and so on are ignored
|
||||
- subscript_{sub} and superscript^{super}
|
||||
- links
|
||||
1. regular link [[https://example.com]] link without description
|
||||
2. regular link [[https://example.com][example.com]] link with description
|
||||
3. regular link to a file (image) [[file:my-img.png]]
|
||||
4. regular link to a file (video) [[my-video.mp4]]
|
||||
5. regular link to http (image) [[http://www.example.com/my-img.png]]
|
||||
6. regular link to https (image) [[https://www.example.com/my-img.png]]
|
||||
7. auto link, i.e. not inside =\[[square brackets]\]= https://www.example.com
|
78
org/testdata/lists.html
vendored
Normal file
78
org/testdata/lists.html
vendored
Normal file
|
@ -0,0 +1,78 @@
|
|||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 1
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 2 - with <code>inline</code> <em>markup</em>
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 1
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 1
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 2
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 3
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
ordered sublist item 2
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 3 - and a <a href="https://example.com">link</a>
|
||||
and some lines of text
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
and another subitem
|
||||
</p>
|
||||
<div class="highlight"><pre>echo with a block</pre></div>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
and another one with a table
|
||||
</p>
|
||||
<table>
|
||||
<thead>
|
||||
<th>a</th><th>b</th><th>c</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td><td>2</td><td>3</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
and text with an empty line in between as well!
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
unordered list item 4
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
20
org/testdata/lists.org
vendored
Normal file
20
org/testdata/lists.org
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
- unordered list item 1
|
||||
- unordered list item 2 - with ~inline~ /markup/
|
||||
1. ordered sublist item 1
|
||||
a) ordered sublist item 1
|
||||
b) ordered sublist item 2
|
||||
c) ordered sublist item 3
|
||||
2. ordered sublist item 2
|
||||
- unordered list item 3 - and a [[https://example.com][link]]
|
||||
and some lines of text
|
||||
1. and another subitem
|
||||
#+BEGIN_SRC sh
|
||||
echo with a block
|
||||
#+END_SRC
|
||||
2. and another one with a table
|
||||
| a | b | c |
|
||||
|---+---+---|
|
||||
| 1 | 2 | 3 |
|
||||
|
||||
and text with an empty line in between as well!
|
||||
- unordered list item 4
|
97
org/testdata/misc.html
vendored
Normal file
97
org/testdata/misc.html
vendored
Normal file
|
@ -0,0 +1,97 @@
|
|||
<h2>issues from goorgeous (free test cases, yay!)</h2>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/29">#29:</a> Support verse block</h3>
|
||||
<div class="verse-block">
|
||||
<p>
|
||||
This
|
||||
<strong>is</strong>
|
||||
verse
|
||||
</p>
|
||||
</div>
|
||||
<div class="custom-block">
|
||||
<p>
|
||||
or even a <strong>totally</strong> <em>custom</em> kind of block
|
||||
crazy ain't it?
|
||||
</p>
|
||||
</div>
|
||||
<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.
|
||||
either <code>this</code>
|
||||
or <code>that</code> foo.
|
||||
</p>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/50">#50</a>: LineBreaks in lists are preserved</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
this list item
|
||||
has
|
||||
multiple
|
||||
linbreaks - but it's still just one paragraph (i.e. no line breaks are rendered)
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
foobar
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
same
|
||||
goes
|
||||
for
|
||||
ordered
|
||||
lists
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
foo
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/68">#68</a>: Quote block with inline markup</h3>
|
||||
<blockquote>
|
||||
<p>
|
||||
<a href="https://www.example.com"><em>this</em> <strong>is</strong> <span style="text-decoration: underline;">markup</span>!</a>
|
||||
</p>
|
||||
</blockquote>
|
||||
<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/75">#75</a>: Not parsing nested lists correctly</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
bullet 1
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
sub bullet
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/78">#78</a>: Emphasis at beginning of line</h3>
|
||||
<p>
|
||||
<em>italics</em>
|
||||
</p>
|
||||
<p>
|
||||
Text
|
||||
<em>italics</em>
|
||||
</p>
|
||||
<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...
|
||||
</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>
|
||||
<p>
|
||||
Foo paragraph.
|
||||
</p>
|
||||
<h4>Bar</h4>
|
||||
<p>
|
||||
Bar paragraph
|
||||
</p>
|
51
org/testdata/misc.org
vendored
Normal file
51
org/testdata/misc.org
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
** issues from goorgeous (free test cases, yay!)
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/29][#29:]] Support verse block
|
||||
#+BEGIN_VERSE
|
||||
This
|
||||
*is*
|
||||
verse
|
||||
#+END_VERSE
|
||||
|
||||
#+BEGIN_CUSTOM
|
||||
or even a *totally* /custom/ kind of block
|
||||
crazy ain't it?
|
||||
#+END_CUSTOM
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/47][#47:]] Consecutive ~code~ wrapped text gets joined
|
||||
either ~this~ or ~that~ foo.
|
||||
either ~this~
|
||||
or ~that~ foo.
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/50][#50]]: LineBreaks in lists are preserved
|
||||
- this list item
|
||||
has
|
||||
multiple
|
||||
linbreaks - but it's still just one paragraph (i.e. no line breaks are rendered)
|
||||
- foobar
|
||||
1. same
|
||||
goes
|
||||
for
|
||||
ordered
|
||||
lists
|
||||
2. foo
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/68][#68]]: Quote block with inline markup
|
||||
#+BEGIN_QUOTE
|
||||
[[https://www.example.com][/this/ *is* _markup_!]]
|
||||
#+END_QUOTE
|
||||
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/77][#77]]: Recognize =code=--- as code plus dash
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/75][#75]]: Not parsing nested lists correctly
|
||||
- bullet 1
|
||||
- sub bullet
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/78][#78]]: Emphasis at beginning of line
|
||||
/italics/
|
||||
|
||||
|
||||
Text
|
||||
/italics/
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/82][#82]]: Crash on empty headline
|
||||
****
|
||||
just a space as title...
|
||||
*** DONE [[https://github.com/chaseadamsio/goorgeous/issues/84][#84]]: Paragraphs that are not followed by an empty line are not parsed correctly
|
||||
**** Foo
|
||||
Foo paragraph.
|
||||
**** Bar
|
||||
Bar paragraph
|
14
org/testdata/paragraphs.html
vendored
Normal file
14
org/testdata/paragraphs.html
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
<p>
|
||||
Paragraphs are the default element.
|
||||
</p>
|
||||
<p>
|
||||
Empty lines and other elements end paragraphs - but paragraphs
|
||||
can
|
||||
obviously
|
||||
span
|
||||
multiple
|
||||
lines.
|
||||
</p>
|
||||
<p>
|
||||
Paragraphs can contain inline markup like <em>emphasis</em> <strong>strong</strong> and links <a href="https://www.example.com">example.com</a> and stuff.
|
||||
</p>
|
11
org/testdata/paragraphs.org
vendored
Normal file
11
org/testdata/paragraphs.org
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
Paragraphs are the default element.
|
||||
|
||||
Empty lines and other elements end paragraphs - but paragraphs
|
||||
can
|
||||
obviously
|
||||
span
|
||||
multiple
|
||||
lines.
|
||||
|
||||
Paragraphs can contain inline markup like /emphasis/ *strong* and links [[https://www.example.com][example.com]] and stuff.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue