go-org-orgwiki/org/testdata/misc.html
Niklas Fasching 2947d7632d Support basic #+INCLUDE (src/example/export block only)
including org files is more complex - e.g. footnotes need to be namespaced to
their source file. org does this by prefixing each included files footnotes
with a number - but even that is not enough as it doesn't guarantee
uniqueness.

As I don't have a usecase for it, I'll avoid the additional complexity for
now.
2018-12-14 17:09:00 +01:00

212 lines
4.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h2>issues from goorgeous (free test cases, yay!)</h2>
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/19">#19</a>: Support #+HTML</h3>
<p style="border: 1px dotted grey">neato!</p>
<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&#39;t it?
</p>
</div>
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/31">#31</a>: Support #+INCLUDE</h3>
<p>
Note that only src/example/export block inclusion is supported for now.
There&#39;s quite a lot more to include (see the <a href="https://orgmode.org/manual/Include-files.html">org manual for include files</a>) but I
don&#39;t have a use case for this yet and stuff like namespacing footnotes of included files
adds quite a bit of complexity.
</p>
<p>
for now files can be included as:
</p>
<ul>
<li>
<p>
src block
</p>
<div class="highlight">
<pre>
* Simple Headline
* TODO [#B] Headline with todo status &amp; priority
* DONE Headline with TODO status
* [#A] Headline with tags &amp; priority :foo:bar:
</pre>
</div>
</li>
<li>
<p>
export block
</p>
<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>
</li>
<li>
<p>
example block
</p>
<pre class="example">
language: go
script:
- make test
- make generate-gh-pages
deploy:
provider: pages
github-token: $GITHUB_TOKEN # From travis-ci.org repository settings
local-dir: gh-pages
target-branch: gh-pages
skip-cleanup: true
verbose: true
on:
branch: master
</pre>
</li>
</ul>
<h3><a href="https://github.com/chaseadamsio/goorgeous/issues/33">#33</a>: Wrong output when mixing html with org-mode</h3>
<div class="outline-2" id="meta" style="color: green;">
<table>
<tbody>
<tr>
<td><strong>foo</strong></td>
<td>foo</td>
</tr>
<tr>
<td><strong>bar</strong></td>
<td>bar</td>
</tr>
</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&#39;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.
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&#39;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/72">#72</a>: Support for #+ATTR_HTML</h3>
<img src="https://golang.org/doc/gopher/pkg.png" alt="Go is fine though." title="https://golang.org/doc/gopher/pkg.png" width="300" style="border:2px solid black;"/>
<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/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>
</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>