Permalink
Browse files

Updates examples with tables and lists.

  • Loading branch information...
1 parent 3ecb63e commit 032bac254c28cfe1e9ace82fd896b48fe39ed3b0 @vonavi committed Dec 18, 2012
View
33 spec/html_examples/custom-seq-todo.html
@@ -1,8 +1,11 @@
-<p class="title">custom-todo.org</p>
+<p class="title">custom-todo.org
+</p>
<p>I copied this todo sequence from Worg. It shows a lot of power of the
built-in todo functionality. Now, let&#8217;s make sure all of these are
-recognized (and therefore NOT exported.)</p>
-<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
+recognized (and therefore NOT exported.)
+</p>
+<h1><span class="todo-keyword TODO">TODO </span>Sample
+</h1>
<ul>
<li>State &#8220;CANCELED&#8221; from &#8220;INPROGRESS&#8221; [2009-12-29 Tue 22:26] &#92;
I gave up.
@@ -11,11 +14,19 @@
huh?
</li>
</ul>
-<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress</h1>
-<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
-<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
-<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
-<h1>DONT be fooled by just a random word in all caps.</h1>
-<h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.</h1>
-<h1>TODOX</h1>
-<p>don&#8217;t be fooled by the initial substring above!</p>
+<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress
+</h1>
+<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?
+</h1>
+<h1><span class="todo-keyword DONE">DONE </span>Finished this one!
+</h1>
+<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.
+</h1>
+<h1>DONT be fooled by just a random word in all caps.
+</h1>
+<h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.
+</h1>
+<h1>TODOX
+</h1>
+<p>don&#8217;t be fooled by the initial substring above!
+</p>
View
33 spec/html_examples/custom-todo.html
@@ -1,8 +1,11 @@
-<p class="title">custom-todo.org</p>
+<p class="title">custom-todo.org
+</p>
<p>I copied this todo sequence from Worg. It shows a lot of power of the
built-in todo functionality. Now, let&#8217;s make sure all of these are
-recognized (and therefore NOT exported.)</p>
-<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
+recognized (and therefore NOT exported.)
+</p>
+<h1><span class="todo-keyword TODO">TODO </span>Sample
+</h1>
<ul>
<li>State &#8220;CANCELED&#8221; from &#8220;INPROGRESS&#8221; [2009-12-29 Tue 22:26] &#92;
I gave up.
@@ -11,11 +14,19 @@
huh?
</li>
</ul>
-<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress</h1>
-<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
-<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
-<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
-<h1>DONT be fooled by just a random word in all caps.</h1>
-<h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.</h1>
-<h1>TODOX</h1>
-<p>don&#8217;t be fooled by the initial substring above!</p>
+<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress
+</h1>
+<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?
+</h1>
+<h1><span class="todo-keyword DONE">DONE </span>Finished this one!
+</h1>
+<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.
+</h1>
+<h1>DONT be fooled by just a random word in all caps.
+</h1>
+<h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.
+</h1>
+<h1>TODOX
+</h1>
+<p>don&#8217;t be fooled by the initial substring above!
+</p>
View
33 spec/html_examples/custom-typ-todo.html
@@ -1,8 +1,11 @@
-<p class="title">custom-todo.org</p>
+<p class="title">custom-todo.org
+</p>
<p>I copied this todo sequence from Worg. It shows a lot of power of the
built-in todo functionality. Now, let&#8217;s make sure all of these are
-recognized (and therefore NOT exported.)</p>
-<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
+recognized (and therefore NOT exported.)
+</p>
+<h1><span class="todo-keyword TODO">TODO </span>Sample
+</h1>
<ul>
<li>State &#8220;CANCELED&#8221; from &#8220;INPROGRESS&#8221; [2009-12-29 Tue 22:26] &#92;
I gave up.
@@ -11,11 +14,19 @@
huh?
</li>
</ul>
-<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress</h1>
-<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
-<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
-<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
-<h1>DONT be fooled by just a random word in all caps.</h1>
-<h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.</h1>
-<h1>TODOX</h1>
-<p>don&#8217;t be fooled by the initial substring above!</p>
+<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress
+</h1>
+<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?
+</h1>
+<h1><span class="todo-keyword DONE">DONE </span>Finished this one!
+</h1>
+<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.
+</h1>
+<h1>DONT be fooled by just a random word in all caps.
+</h1>
+<h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.
+</h1>
+<h1>TODOX
+</h1>
+<p>don&#8217;t be fooled by the initial substring above!
+</p>
View
9 spec/html_examples/deflist.html
@@ -1,10 +1,13 @@
-<p class="title">Hallo</p>
+<p class="title">Hallo
+</p>
<dl>
<dt>a</dt><dd>hello</dd>
<dt>b</dt><dd>world</dd>
</dl>
-<p>Text</p>
-<h1>Asterisk can be used for lists</h1>
+<p>Text
+</p>
+<h1>Asterisk can be used for lists
+</h1>
<dl>
<dt>One</dt><dd>The first number.</dd>
<dt>Two</dt><dd>The second number.</dd>
View
15 spec/html_examples/footnotes.html
@@ -1,11 +1,16 @@
-<p class="title">Footnotes</p>
+<p class="title">Footnotes
+</p>
<p>Hello<sup><a class="footref" name="fnr.abc" href="#fn.abc">abc</a></sup>
-World<sup><a class="footref" name="fnr.abc" href="#fn.abc">abc</a></sup></p>
-<p>Bfoo<sup><a class="footref" name="fnr.1" href="#fn.1">1</a></sup></p>
+World<sup><a class="footref" name="fnr.abc" href="#fn.abc">abc</a></sup>
+</p>
+<p>Bfoo<sup><a class="footref" name="fnr.1" href="#fn.1">1</a></sup>
+</p>
<div id="footnotes">
<h2 class="footnotes">Footnotes: </h2>
<div id="text-footnotes">
-<p class="footnote"><sup><a class="footnum" name="fn.abc" href="#fnr.abc">abc</a></sup>definition of abc</p>
-<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup><b>blub</b></p>
+<p class="footnote"><sup><a class="footnum" name="fn.abc" href="#fnr.abc">abc</a></sup>definition of abc
+</p>
+<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup><b>blub</b>
+</p>
</div>
</div>
View
14 spec/html_examples/only-table.html
@@ -1,6 +1,10 @@
-<table>
- <tr><th>One</th><th>Two</th><th>Three</th><th>Four</th></tr>
- <tr><td>Five</td><td>Six</td><td>Seven</td><td>Eight</td></tr>
- <tr><td>Nine</td><td>Ten</td><td>Eleven</td><td>Twelve</td></tr>
- <tr><td><b>format</b></td><td><i>text</i></td><td><code>in</code></td><td><span style="text-decoration:underline;">cells</span></td></tr>
+<table class="title">
+ <tr><th>One</th><th>Two</th><th>Three</th><th>Four</th>
+ </tr>
+ <tr><td>Five</td><td>Six</td><td>Seven</td><td>Eight</td>
+ </tr>
+ <tr><td>Nine</td><td>Ten</td><td>Eleven</td><td>Twelve</td>
+ </tr>
+ <tr><td><b>format</b></td><td><i>text</i></td><td><code>in</code></td><td><span style="text-decoration:underline;">cells</span></td>
+ </tr>
</table>
View
87 spec/html_examples/tables.html
@@ -1,42 +1,71 @@
-<p class="title">TABLES</p>
-<p>Different types of ORG tables.</p>
-<h1>Simple table, no header.</h1>
+<p class="title">TABLES
+</p>
+<p>Different types of ORG tables.
+</p>
+<h1>Simple table, no header.
+</h1>
<table>
- <tr><td>Cell one</td><td>Cell two</td></tr>
- <tr><td>Cell three</td><td>Cell four</td></tr>
+ <tr><td>Cell one</td><td>Cell two</td>
+ </tr>
+ <tr><td>Cell three</td><td>Cell four</td>
+ </tr>
</table>
-<h1>Indented table</h1>
+<h1>Indented table
+</h1>
<table>
- <tr><td>Cell one</td></tr>
- <tr><td>Cell two</td></tr>
+ <tr><td>Cell one</td>
+ </tr>
+ <tr><td>Cell two</td>
+ </tr>
</table>
<p>And here&#8217;s some paragraph content. The line breaks will need to get
-removed here, but not for the tables.</p>
-<h1>Table with header</h1>
+removed here, but not for the tables.
+</p>
+<h1>Table with header
+</h1>
<table>
- <tr><th>One</th><th>Two</th><th>Three</th></tr>
- <tr><td>Four</td><td>Five</td><td>Six</td></tr>
- <tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
+ <tr><th>One</th><th>Two</th><th>Three</th>
+ </tr>
+ <tr><td>Four</td><td>Five</td><td>Six</td>
+ </tr>
+ <tr><td>Seven</td><td>Eight</td><td>Nine</td>
+ </tr>
</table>
-<p>The separator row should not get printed out.</p>
-<h1>Table with complete box</h1>
+<p>The separator row should not get printed out.
+</p>
+<h1>Table with complete box
+</h1>
<table>
- <tr><th>One</th><th>Two</th><th>Three</th></tr>
- <tr><td>Four</td><td>Five</td><td>Six</td></tr>
- <tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
+ <tr><th>One</th><th>Two</th><th>Three</th>
+ </tr>
+ <tr><td>Four</td><td>Five</td><td>Six</td>
+ </tr>
+ <tr><td>Seven</td><td>Eight</td><td>Nine</td>
+ </tr>
</table>
-<p>Only the first row should be a header row.</p>
-<h1>Table with extra lines</h1>
+<p>Only the first row should be a header row.
+</p>
+<h1>Table with extra lines
+</h1>
<table>
- <tr><th>One</th><th>Two</th><th>Three</th></tr>
- <tr><td>Four</td><td>Five</td><td>Six</td></tr>
- <tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
- <tr><td>Ten</td><td>Eleven</td><td>Twelve</td></tr>
+ <tr><th>One</th><th>Two</th><th>Three</th>
+ </tr>
+ <tr><td>Four</td><td>Five</td><td>Six</td>
+ </tr>
+ <tr><td>Seven</td><td>Eight</td><td>Nine</td>
+ </tr>
+ <tr><td>Ten</td><td>Eleven</td><td>Twelve</td>
+ </tr>
</table>
-<p>Only the first row should be a header row.</p>
-<h1>Fix error when table starts with hline (Thanks @til!)</h1>
+<p>Only the first row should be a header row.
+</p>
+<h1>Fix error when table starts with hline (Thanks @til!)
+</h1>
<table>
- <tr><th>foo</th><th>bar</th></tr>
- <tr><td>1</td><td>2</td></tr>
+ <tr><th>foo</th><th>bar</th>
+ </tr>
+ <tr><td>1</td><td>2</td>
+ </tr>
</table>
-<p>https://github.com/bdewey/org-ruby/pull/34</p>
+<p>https://github.com/bdewey/org-ruby/pull/34
+</p>

0 comments on commit 032bac2

Please sign in to comment.