File: README.org.html

package info (click to toggle)
ruby-github-markup 1.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 336 kB
  • ctags: 118
  • sloc: ruby: 373; python: 113; sh: 21; makefile: 15
file content (139 lines) | stat: -rw-r--r-- 4,638 bytes parent folder | download | duplicates (3)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<h1>org-ruby</h1>
<table>
  <tr>
<td>Status:</td>
<td>Under Development</td>
</tr>
  <tr>
<td>Location:</td>
<td><a href="http://github.com/wallyqs/org-ruby">http://github.com/wallyqs/org-ruby</a></td>
</tr>
  <tr>
<td>Version:</td>
<td>0.9.0</td>
</tr>
</table>
<h1>1 Description</h1>
<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>
<h1>2 History</h1>
<h2>2.1 2014-02-08: Version 0.9.0</h2>
<ul>
  <li>Let’s make sure <code>#+INCLUDE:</code> is not supported</li>
</ul>
<ul>
  <li>And confirm that syntax highlight is supported</li>
</ul>
<pre lang="ruby">
module GitHub
  module Markup
    VERSION = 'test'
    Version = VERSION
  end
end
</pre>
<h2>2.2 2009-12-30: Version 0.5.1</h2>
<ul>
  <li>Minor enhancement: Recognize lines starting with “:” as examples.</li>
  <li>Minor enhancement: Recognize #+BEGIN_SRC as source blocks</li>
  <li>Minor enhancement: Add “src” and “example” classes to &lt;pre&gt; blocks.</li>
</ul>
<h2>2.3 2009-12-30: Version 0.5.0</h2>
<ul>
  <li>Parse (but not necessarily <b>use</b>) in-buffer settings. The following
    in-buffer settings <b>are</b> used:
    <ul>
      <li>Understand the #+TITLE: directive.</li>
      <li>Exporting todo keywords (option todo:t)</li>
      <li>Numbering headlines (option num:t)</li>
      <li>Skipping text before the first headline (option skip:t)</li>
      <li>Skipping tables (option |:nil)</li>
      <li>Custom todo keywords</li>
      <li>EXPORT_SELECT_TAGS and EXPORT_EXLUDE_TAGS for controlling parts of
        the tree to export</li>
    </ul>
  </li>
  <li>Rewrite “file:(blah).org” links to “http:(blah).html” links. This
    makes the inter-links to other org-mode files work.</li>
  <li>Uses &lt;th&gt; tags inside table rows that precede table separators.</li>
  <li>Bugfixes:
    <ul>
      <li>Headings now have HTML escaped.</li>
    </ul>
  </li>
</ul>
<h2>2.4 2009-12-29: Version 0.4.2</h2>
<ul>
  <li>Got rid of the extraneous newline at the start of code blocks.</li>
  <li>Everything now shows up in code blocks, even org-mode metadata.</li>
  <li>Fixed bugs:
    <ul>
      <li>Regressed smart double quotes with HTML escaping. Added a test
        case and fixed the regression.</li>
    </ul>
  </li>
</ul>
<h2>2.5 2009-12-29: Version 0.4.1</h2>
<ul>
  <li>HTML is now escaped by default</li>
  <li>org-mode comments will show up in a code block.</li>
</ul>
<h2>2.6 2009-12-29: Version 0.4</h2>
<ul>
  <li>The first thing output in HTML gets the class “title”</li>
  <li>HTML output is now indented</li>
  <li>Proper support for multi-paragraph list items.
    <p>See? This paragraph is part of the last bullet.</p>
  </li>
  <li>Fixed bugs:
    <ul>
      <li>“rake spec” wouldn’t work on Linux. Needed “require ‘rubygems’”.</li>
    </ul>
  </li>
</ul>
<h2>2.7 2009-12-27: Version 0.3</h2>
<ul>
  <li>Uses rubypants to get better typography (smart quotes, elipses, etc…).</li>
  <li>Fixed bugs:
    <ul>
      <li>Tables and lists did not get properly closed at the end of file</li>
      <li>You couldn’t do inline formatting inside table cells</li>
      <li>Characters in PRE blocks were not HTML escaped.</li>
    </ul>
  </li>
</ul>
<h2>2.8 2009-12-26: Version 0.2</h2>
<ul>
  <li>Added <code>to_html</code> output on the parser.</li>
  <li>Added support for the full range of inline markup: <b>bold</b>,
    <i>italic</i>, <code>code</code>, <code>verbatim</code>, underline, <del>strikethrough</del>.</li>
  <li>Lots of refactoring to make the code more maintainable.</li>
</ul>
<h2>2.9 2009-12-23: Version 0.1</h2>
<ul>
  <li>Added support for block code, like this:
    <pre>
  def flush!
  @logger.debug "FLUSH ==========&gt; #{@output_type}"
  if (@output_type == :blank) then
    @output &lt;&lt; "\n"
  elsif (@buffer.length &gt; 0) then
    if @cancel_modifier then
      @output &lt;&lt; "p. " if @output_type == :paragraph
      @cancel_modifier = false
    end
    @output &lt;&lt; @paragraph_modifier if (@paragraph_modifier and not sticky_modifier?)
    @output &lt;&lt; @buffer.textile_substitution &lt;&lt; "\n"
  end
  @buffer = ""
end
    </pre>
  </li>
  <li>Major code cleanup: Created the <code>OutputBuffer</code> class that
    greatly simplified a lot of the messiness of <code>textile</code>
    conversion.</li>
  <li>Added support for line breaks within list items.</li>
</ul>