File: tables.html

package info (click to toggle)
ruby-org 0.9.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,852 kB
  • sloc: ruby: 3,044; lisp: 50; makefile: 4
file content (42 lines) | stat: -rw-r--r-- 1,425 bytes parent folder | download | duplicates (5)
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
<p>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>
</table>
<h1>Indented table</h1>
<table>
  <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>
<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>
</table>
<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>
</table>
<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>
</table>
<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>
</table>
<p>https://github.com/bdewey/org-ruby/pull/34</p>