test/markups/README.org.html (view raw)
1<p class="title">org-ruby</p>
2<table>
3 <tr><td>Status:</td><td>Under Development</td></tr>
4 <tr><td>Location:</td><td><a href="http://github.com/bdewey/org-ruby">http://github.com/bdewey/org-ruby</a></td></tr>
5 <tr><td>Version:</td><td>0.5.1</td></tr>
6</table>
7<h1><span class="heading-number heading-number-1">1 </span>Description</h1>
8<p>Helpful Ruby routines for parsing orgmode files. The most significant thing this library does today is convert orgmode files to textile. Currently, you cannot do much to customize the conversion. The supplied textile conversion is optimized for extracting “content” from the orgfile as opposed to “metadata.”</p>
9<h1><span class="heading-number heading-number-1">2 </span>History</h1>
10<h2><span class="heading-number heading-number-2">2.1 </span>2009-12-30: Version 0.5.1</h2>
11<ul>
12 <li>Minor enhancement: Recognize lines starting with “:” as examples.
13 </li>
14 <li>Minor enhancement: Recognize #+BEGIN_SRC as source blocks
15 </li>
16 <li>Minor enhancement: Add “src” and “example” classes to <pre> blocks.
17 </li>
18</ul>
19<h2><span class="heading-number heading-number-2">2.2 </span>2009-12-30: Version 0.5.0</h2>
20<ul>
21 <li>Parse (but not necessarily <b>use</b>) in-buffer settings. The following in-buffer settings <b>are</b> used:
22 <ul>
23 <li>Understand the #+TITLE: directive.
24 </li>
25 <li>Exporting todo keywords (option todo:t)
26 </li>
27 <li>Numbering headlines (option num:t)
28 </li>
29 <li>Skipping text before the first headline (option skip:t)
30 </li>
31 <li>Skipping tables (option |:nil)
32 </li>
33 <li>Custom todo keywords
34 </li>
35 <li>EXPORT_SELECT_TAGS and EXPORT_EXLUDE_TAGS for controlling parts of the tree to export
36 </li>
37 </ul>
38 </li>
39 <li>Rewrite “file:(blah).org” links to “http:(blah).html” links. This makes the inter-links to other org-mode files work.
40 </li>
41 <li>Uses <th> tags inside table rows that precede table separators.
42 </li>
43 <li>Bugfixes:
44 <ul>
45 <li>Headings now have HTML escaped.
46 </li>
47 </ul>
48 </li>
49</ul>
50<h2><span class="heading-number heading-number-2">2.3 </span>2009-12-29: Version 0.4.2</h2>
51<ul>
52 <li>Got rid of the extraneous newline at the start of code blocks.
53 </li>
54 <li>Everything now shows up in code blocks, even org-mode metadata.
55 </li>
56 <li>Fixed bugs:
57 <ul>
58 <li>Regressed smart double quotes with HTML escaping. Added a test case and fixed the regression.
59 </li>
60 </ul>
61 </li>
62</ul>
63<h2><span class="heading-number heading-number-2">2.4 </span>2009-12-29: Version 0.4.1</h2>
64<ul>
65 <li>HTML is now escaped by default
66 </li>
67 <li>org-mode comments will show up in a code block.
68 </li>
69</ul>
70<h2><span class="heading-number heading-number-2">2.5 </span>2009-12-29: Version 0.4</h2>
71<ul>
72 <li>The first thing output in HTML gets the class “title”
73 </li>
74 <li>HTML output is now indented
75 </li>
76 <li>Proper support for multi-paragraph list items.
77 <p>See? This paragraph is part of the last bullet.</p>
78 </li>
79 <li>Fixed bugs:
80 <ul>
81 <li>“rake spec” wouldn’t work on Linux. Needed “require ‘rubygems’”.
82 </li>
83 </ul>
84 </li>
85</ul>
86<h2><span class="heading-number heading-number-2">2.6 </span>2009-12-27: Version 0.3</h2>
87<ul>
88 <li>Uses rubypants to get better typography (smart quotes, elipses, etc…).
89 </li>
90 <li>Fixed bugs:
91 <ul>
92 <li>Tables and lists did not get properly closed at the end of file
93 </li>
94 <li>You couldn’t do inline formatting inside table cells
95 </li>
96 <li>Characters in PRE blocks were not HTML escaped.
97 </li>
98 </ul>
99 </li>
100</ul>
101<h2><span class="heading-number heading-number-2">2.7 </span>2009-12-26: Version 0.2</h2>
102<ul>
103 <li>Added <code>to_html</code> output on the parser.
104 </li>
105 <li>Added support for the full range of inline markup: <b>bold</b>, <i>italic</i>, <code>code</code>, <code>verbatim</code>, <span style="text-decoration:underline;">underline</span>, <del>strikethrough</del>.
106 </li>
107 <li>Lots of refactoring to make the code more maintainable.
108 </li>
109</ul>
110<h2><span class="heading-number heading-number-2">2.8 </span>2009-12-23: Version 0.1</h2>
111<ul>
112 <li>Added support for block code, like this:
113 <pre class="example">
114 def flush!
115 @logger.debug "FLUSH ==========> #{@output_type}"
116 if (@output_type == :blank) then
117 @output << "\n"
118 elsif (@buffer.length > 0) then
119 if @cancel_modifier then
120 @output << "p. " if @output_type == :paragraph
121 @cancel_modifier = false
122 end
123 @output << @paragraph_modifier if (@paragraph_modifier and not sticky_modifier?)
124 @output << @buffer.textile_substitution << "\n"
125 end
126 @buffer = ""
127 end
128 </pre>
129 </li>
130 <ul>
131 <li>Major code cleanup: Created the <code>OutputBuffer</code> class that greatly simplified a lot of the messiness of <code>textile</code> conversion.
132 </li>
133 <li>Added support for line breaks within list items.
134 </li>
135 </ul>
136</ul>