1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
<h1 class="title">Example of including a file</h1>
<h1>Basic tests</h1>
<h1>Within a commented block</h1>
<h1>Within a center block</h1>
<div style="text-align: center">
<p>The following included file will be centered:</p>
</div>
<h1>Within a blockquote</h1>
<p>This is similar to the center block:</p>
<blockquote>
<p>Before</p>
<p>After</p>
</blockquote>
<h1>Within an example block, it should not be possible to include a file.</h1>
<pre class="example">
#+INCLUDE: "./spec/html_examples/only-list.org"
</pre>
<h1>Within a list</h1>
<ul>
<li>A list that has an included file directive
<ul>
<li>Only go to the first level
<ul>
<li>when included it always goes to the first level and absorbs next list items</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>3rd level</li>
</ul>
<ul>
<li>3rd level, though it should be a different list</li>
</ul>
<h1>Within a table, cannot be included</h1>
<table>
<tr><th>One</th><th>Two</th><th>Three</th></tr>
<tr><td>#+INCLUDE: “./spec/html_examples/only-list.org”</td><td>Five</td><td>Six</td></tr>
<tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
</table>
<h1>When including a file as an example</h1>
<h1>When including a file as an quote</h1>
|