wallyqs-org-ruby 0.6.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +41 -11
- data/README.rdoc +55 -50
- data/bin/org-ruby +11 -5
- data/lib/org-ruby.rb +20 -27
- data/lib/org-ruby/headline.rb +0 -10
- data/lib/org-ruby/html_output_buffer.rb +224 -143
- data/lib/org-ruby/html_symbol_replace.rb +359 -340
- data/lib/org-ruby/line.rb +91 -30
- data/lib/org-ruby/output_buffer.rb +147 -139
- data/lib/org-ruby/parser.rb +45 -111
- data/lib/org-ruby/regexp_helper.rb +52 -57
- data/lib/org-ruby/textile_output_buffer.rb +90 -37
- data/lib/org-ruby/textile_symbol_replace.rb +360 -341
- metadata +39 -200
- data/.bnsignore +0 -18
- data/.gitignore +0 -2
- data/Gemfile +0 -7
- data/Gemfile.lock +0 -36
- data/Rakefile +0 -33
- data/TAGS +0 -167
- data/announcement.txt +0 -24
- data/org-ruby.gemspec +0 -40
- data/spec/data/freeform-example.org +0 -113
- data/spec/data/freeform.org +0 -111
- data/spec/data/hyp-planning.org +0 -335
- data/spec/data/remember.org +0 -53
- data/spec/headline_spec.rb +0 -65
- data/spec/html_examples/advanced-code.html +0 -81
- data/spec/html_examples/advanced-code.org +0 -106
- data/spec/html_examples/advanced-lists.html +0 -31
- data/spec/html_examples/advanced-lists.org +0 -31
- data/spec/html_examples/block_code.html +0 -28
- data/spec/html_examples/block_code.org +0 -35
- data/spec/html_examples/blockcomment.html +0 -3
- data/spec/html_examples/blockcomment.org +0 -15
- data/spec/html_examples/blockquote.html +0 -7
- data/spec/html_examples/blockquote.org +0 -13
- data/spec/html_examples/center.html +0 -6
- data/spec/html_examples/center.org +0 -7
- data/spec/html_examples/code-comment.html +0 -18
- data/spec/html_examples/code-comment.org +0 -22
- data/spec/html_examples/code-syntax.html +0 -98
- data/spec/html_examples/code-syntax.org +0 -99
- data/spec/html_examples/comment-trees.html +0 -4
- data/spec/html_examples/comment-trees.org +0 -13
- data/spec/html_examples/custom-seq-todo.html +0 -15
- data/spec/html_examples/custom-seq-todo.org +0 -24
- data/spec/html_examples/custom-todo.html +0 -15
- data/spec/html_examples/custom-todo.org +0 -24
- data/spec/html_examples/custom-typ-todo.html +0 -15
- data/spec/html_examples/custom-typ-todo.org +0 -24
- data/spec/html_examples/deflist.html +0 -6
- data/spec/html_examples/deflist.org +0 -6
- data/spec/html_examples/entities.html +0 -4
- data/spec/html_examples/entities.org +0 -11
- data/spec/html_examples/escape-pre.html +0 -6
- data/spec/html_examples/escape-pre.org +0 -6
- data/spec/html_examples/export-exclude-only.html +0 -13
- data/spec/html_examples/export-exclude-only.org +0 -81
- data/spec/html_examples/export-keywords.html +0 -4
- data/spec/html_examples/export-keywords.org +0 -18
- data/spec/html_examples/export-tags.html +0 -8
- data/spec/html_examples/export-tags.org +0 -82
- data/spec/html_examples/export-title.html +0 -2
- data/spec/html_examples/export-title.org +0 -4
- data/spec/html_examples/footnotes.html +0 -10
- data/spec/html_examples/footnotes.org +0 -7
- data/spec/html_examples/html-literal.html +0 -2
- data/spec/html_examples/html-literal.org +0 -6
- data/spec/html_examples/inline-formatting.html +0 -20
- data/spec/html_examples/inline-formatting.org +0 -33
- data/spec/html_examples/inline-images.html +0 -10
- data/spec/html_examples/inline-images.org +0 -15
- data/spec/html_examples/link-features.html +0 -8
- data/spec/html_examples/link-features.org +0 -19
- data/spec/html_examples/lists.html +0 -23
- data/spec/html_examples/lists.org +0 -47
- data/spec/html_examples/metadata-comment.html +0 -27
- data/spec/html_examples/metadata-comment.org +0 -30
- data/spec/html_examples/only-list.html +0 -5
- data/spec/html_examples/only-list.org +0 -3
- data/spec/html_examples/only-table.html +0 -6
- data/spec/html_examples/only-table.org +0 -5
- data/spec/html_examples/skip-header.html +0 -3
- data/spec/html_examples/skip-header.org +0 -28
- data/spec/html_examples/skip-table.html +0 -4
- data/spec/html_examples/skip-table.org +0 -19
- data/spec/html_examples/subsupscript-nil.html +0 -3
- data/spec/html_examples/subsupscript-nil.org +0 -6
- data/spec/html_examples/subsupscript.html +0 -3
- data/spec/html_examples/subsupscript.org +0 -5
- data/spec/html_examples/tables.html +0 -35
- data/spec/html_examples/tables.org +0 -50
- data/spec/html_examples/text.html +0 -2
- data/spec/html_examples/text.org +0 -16
- data/spec/line_spec.rb +0 -155
- data/spec/output_buffer_spec.rb +0 -19
- data/spec/parser_spec.rb +0 -152
- data/spec/regexp_helper_spec.rb +0 -57
- data/spec/spec_helper.rb +0 -20
- data/spec/textile_examples/block_code.org +0 -35
- data/spec/textile_examples/block_code.textile +0 -29
- data/spec/textile_examples/blockquote.org +0 -13
- data/spec/textile_examples/blockquote.textile +0 -11
- data/spec/textile_examples/center.org +0 -7
- data/spec/textile_examples/center.textile +0 -6
- data/spec/textile_examples/footnotes.org +0 -7
- data/spec/textile_examples/footnotes.textile +0 -8
- data/spec/textile_examples/keywords.org +0 -13
- data/spec/textile_examples/keywords.textile +0 -11
- data/spec/textile_examples/links.org +0 -11
- data/spec/textile_examples/links.textile +0 -10
- data/spec/textile_examples/lists.org +0 -36
- data/spec/textile_examples/lists.textile +0 -20
- data/spec/textile_examples/single-space-plain-list.org +0 -13
- data/spec/textile_examples/single-space-plain-list.textile +0 -10
- data/spec/textile_examples/tables.org +0 -50
- data/spec/textile_examples/tables.textile +0 -40
- data/spec/textile_output_buffer_spec.rb +0 -21
- data/tasks/test_case.rake +0 -49
- data/test/test_orgmode_parser.rb +0 -0
- data/util/gen-special-replace.el +0 -37
@@ -1,18 +0,0 @@
|
|
1
|
-
<h1 class="title">Code Comment</h1>
|
2
|
-
<p>I need to be able to export things that look like org-mode comments inside of code blocks, like this:</p>
|
3
|
-
<pre class="example">
|
4
|
-
#+TITLE: orgmode_parser.org
|
5
|
-
#+AUTHOR:
|
6
|
-
#+EMAIL: brian@BRIAN-DESK
|
7
|
-
#+DATE: 2009-12-29 Tue
|
8
|
-
#+DESCRIPTION:
|
9
|
-
#+KEYWORDS:
|
10
|
-
#+LANGUAGE: en
|
11
|
-
#+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
|
12
|
-
#+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
|
13
|
-
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
|
14
|
-
#+EXPORT_SELECT_TAGS: export
|
15
|
-
#+EXPORT_EXCLUDE_TAGS: noexport
|
16
|
-
#+LINK_UP:
|
17
|
-
#+LINK_HOME:
|
18
|
-
</pre>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
* Code Comment
|
2
|
-
|
3
|
-
I need to be able to export things that look like org-mode comments
|
4
|
-
inside of code blocks, like this:
|
5
|
-
|
6
|
-
#+BEGIN_EXAMPLE
|
7
|
-
#+TITLE: orgmode_parser.org
|
8
|
-
#+AUTHOR:
|
9
|
-
#+EMAIL: brian@BRIAN-DESK
|
10
|
-
#+DATE: 2009-12-29 Tue
|
11
|
-
#+DESCRIPTION:
|
12
|
-
#+KEYWORDS:
|
13
|
-
#+LANGUAGE: en
|
14
|
-
#+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
|
15
|
-
#+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
|
16
|
-
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
|
17
|
-
#+EXPORT_SELECT_TAGS: export
|
18
|
-
#+EXPORT_EXCLUDE_TAGS: noexport
|
19
|
-
#+LINK_UP:
|
20
|
-
#+LINK_HOME:
|
21
|
-
#+END_EXAMPLE
|
22
|
-
|
@@ -1,98 +0,0 @@
|
|
1
|
-
<h1 class="title">Code syntax</h1>
|
2
|
-
<h2>No language selected</h2>
|
3
|
-
<pre class="src">
|
4
|
-
<code class="">
|
5
|
-
Nothing to see here
|
6
|
-
</code>
|
7
|
-
</pre>
|
8
|
-
<h2>CSS example</h2>
|
9
|
-
<pre class="src">
|
10
|
-
<code class="css">
|
11
|
-
<span style="color:#339;font-weight:bold">*</span> {
|
12
|
-
<span style="color:#777">/* apply a natural box layout model to all elements */</span>
|
13
|
-
<span style="color:#339;font-weight:bold">box-sizing</span>: <span style="color:#339;font-weight:bold">border-box</span>;
|
14
|
-
<span style="color:#339;font-weight:bold">-moz-box-sizing</span>: <span style="color:#339;font-weight:bold">border-box</span>;
|
15
|
-
<span style="color:#339;font-weight:bold">-webkit-box-sizing</span>: <span style="color:#339;font-weight:bold">border-box</span>;
|
16
|
-
}
|
17
|
-
</code>
|
18
|
-
</pre>
|
19
|
-
<h2>HTML example</h2>
|
20
|
-
<pre class="src">
|
21
|
-
<code class="html">
|
22
|
-
<span style="color:#070"><html></span>
|
23
|
-
<span style="color:#070"><head></span>
|
24
|
-
<span style="color:#070"><title></span>Hello<span style="color:#070"></title></span>
|
25
|
-
<span style="color:#070"></head></span>
|
26
|
-
<span style="color:#070"><body></span>
|
27
|
-
<span style="color:#070"><h1></span>Hello<span style="color:#070"></h1></span>
|
28
|
-
|
29
|
-
|
30
|
-
<span style="color:#070"></body></span>
|
31
|
-
<span style="color:#070"></html></span>
|
32
|
-
</code>
|
33
|
-
</pre>
|
34
|
-
<h2>Ruby example</h2>
|
35
|
-
<pre class="src">
|
36
|
-
<code class="ruby">
|
37
|
-
<span style="color:#080;font-weight:bold">class</span> <span style="color:#B06;font-weight:bold">Post</span> << <span style="color:#036;font-weight:bold">ActiveRecord</span>::<span style="color:#036;font-weight:bold">Base</span>
|
38
|
-
<span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">print_title</span>
|
39
|
-
puts <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="background-color:hsla(0,0%,0%,0.07);color:black"><span style="font-weight:bold;color:#666">#{</span><span style="color:#069">self</span>.title<span style="font-weight:bold;color:#666">}</span></span><span style="color:#710">"</span></span>
|
40
|
-
<span style="color:#080;font-weight:bold">end</span>
|
41
|
-
<span style="color:#080;font-weight:bold">end</span>
|
42
|
-
</code>
|
43
|
-
</pre>
|
44
|
-
<h2>Python example</h2>
|
45
|
-
<pre class="src">
|
46
|
-
<code class="python">
|
47
|
-
<span style="color:#080;font-weight:bold">import</span> <span style="color:#B44;font-weight:bold">mapnik</span>
|
48
|
-
|
49
|
-
m = mapnik.Map(<span style="color:#00D">600</span>, <span style="color:#00D">800</span>)
|
50
|
-
m.background = Map.Color(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">steelblue</span><span style="color:#710">'</span></span>)
|
51
|
-
</code>
|
52
|
-
</pre>
|
53
|
-
<h2>Javascript example</h2>
|
54
|
-
<pre class="src">
|
55
|
-
<code class="javascript">
|
56
|
-
exports = <span style="color:#963">this</span>;
|
57
|
-
|
58
|
-
(<span style="color:#080;font-weight:bold">function</span>(<span style="color:#369;font-weight:bold">$</span>){
|
59
|
-
|
60
|
-
<span style="color:#080;font-weight:bold">var</span> Posts = {};
|
61
|
-
|
62
|
-
Posts.<span style="color:#06B;font-weight:bold">index</span> = <span style="color:#080;font-weight:bold">function</span>(){
|
63
|
-
<span style="color:#777">// TODO</span>
|
64
|
-
};
|
65
|
-
|
66
|
-
})(jQuery);
|
67
|
-
</code>
|
68
|
-
</pre>
|
69
|
-
<h2>JSON example</h2>
|
70
|
-
<pre class="src">
|
71
|
-
<code class="json">
|
72
|
-
{ <span style="color:#F00;background-color:#FAA">n</span><span style="color:#F00;background-color:#FAA">a</span><span style="color:#F00;background-color:#FAA">m</span><span style="color:#F00;background-color:#FAA">e</span>: <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Waldemar</span><span style="color:#710">"</span></span>
|
73
|
-
, <span style="color:#F00;background-color:#FAA">s</span><span style="color:#F00;background-color:#FAA">u</span><span style="color:#F00;background-color:#FAA">r</span><span style="color:#F00;background-color:#FAA">n</span><span style="color:#F00;background-color:#FAA">a</span><span style="color:#F00;background-color:#FAA">m</span><span style="color:#F00;background-color:#FAA">e</span>: <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Quevedo</span><span style="color:#710">"</span></span>
|
74
|
-
}
|
75
|
-
</code>
|
76
|
-
</pre>
|
77
|
-
<h2>PHP example</h2>
|
78
|
-
<pre class="src">
|
79
|
-
<code class="php">
|
80
|
-
<span style="color:#369;font-weight:bold">echo</span> <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Hello</span><span style="color:#710">"</span></span>;
|
81
|
-
<span style="color:#369;font-weight:bold">phpinfo</span>();
|
82
|
-
<span style="color:#369;font-weight:bold">var_dump</span>(some_var);
|
83
|
-
</code>
|
84
|
-
</pre>
|
85
|
-
<h2>Elisp example</h2>
|
86
|
-
<pre class="src">
|
87
|
-
<code class="scheme">
|
88
|
-
(defun hello()
|
89
|
-
(interactive)
|
90
|
-
(message "hello"))
|
91
|
-
</code>
|
92
|
-
</pre>
|
93
|
-
<h2>Not supported language example</h2>
|
94
|
-
<pre class="src">
|
95
|
-
<code class="notsupported">
|
96
|
-
!+!+++!++!++!++!+
|
97
|
-
</code>
|
98
|
-
</pre>
|
@@ -1,99 +0,0 @@
|
|
1
|
-
* Code syntax
|
2
|
-
|
3
|
-
** No language selected
|
4
|
-
|
5
|
-
#+BEGIN_SRC
|
6
|
-
Nothing to see here
|
7
|
-
#+END_SRC
|
8
|
-
|
9
|
-
** CSS example
|
10
|
-
|
11
|
-
#+BEGIN_SRC css
|
12
|
-
* {
|
13
|
-
/* apply a natural box layout model to all elements */
|
14
|
-
box-sizing: border-box;
|
15
|
-
-moz-box-sizing: border-box;
|
16
|
-
-webkit-box-sizing: border-box;
|
17
|
-
}
|
18
|
-
#+END_SRC
|
19
|
-
|
20
|
-
** HTML example
|
21
|
-
|
22
|
-
#+BEGIN_SRC html
|
23
|
-
<html>
|
24
|
-
<head>
|
25
|
-
<title>Hello</title>
|
26
|
-
</head>
|
27
|
-
<body>
|
28
|
-
<h1>Hello</h1>
|
29
|
-
|
30
|
-
|
31
|
-
</body>
|
32
|
-
</html>
|
33
|
-
#+END_SRC
|
34
|
-
|
35
|
-
** Ruby example
|
36
|
-
|
37
|
-
#+BEGIN_SRC ruby
|
38
|
-
class Post << ActiveRecord::Base
|
39
|
-
def print_title
|
40
|
-
puts "#{self.title}"
|
41
|
-
end
|
42
|
-
end
|
43
|
-
#+END_SRC
|
44
|
-
|
45
|
-
** Python example
|
46
|
-
|
47
|
-
#+BEGIN_SRC python
|
48
|
-
import mapnik
|
49
|
-
|
50
|
-
m = mapnik.Map(600, 800)
|
51
|
-
m.background = Map.Color('steelblue')
|
52
|
-
#+END_SRC
|
53
|
-
|
54
|
-
** Javascript example
|
55
|
-
|
56
|
-
#+BEGIN_SRC javascript
|
57
|
-
exports = this;
|
58
|
-
|
59
|
-
(function($){
|
60
|
-
|
61
|
-
var Posts = {};
|
62
|
-
|
63
|
-
Posts.index = function(){
|
64
|
-
// TODO
|
65
|
-
};
|
66
|
-
|
67
|
-
})(jQuery);
|
68
|
-
#+END_SRC
|
69
|
-
|
70
|
-
** JSON example
|
71
|
-
|
72
|
-
#+BEGIN_SRC json
|
73
|
-
{ name: "Waldemar"
|
74
|
-
, surname: "Quevedo"
|
75
|
-
}
|
76
|
-
#+END_SRC
|
77
|
-
|
78
|
-
** PHP example
|
79
|
-
|
80
|
-
#+BEGIN_SRC php
|
81
|
-
echo "Hello";
|
82
|
-
phpinfo();
|
83
|
-
var_dump(some_var);
|
84
|
-
#+END_SRC
|
85
|
-
|
86
|
-
** Elisp example
|
87
|
-
|
88
|
-
#+BEGIN_SRC scheme
|
89
|
-
(defun hello()
|
90
|
-
(interactive)
|
91
|
-
(message "hello"))
|
92
|
-
#+END_SRC
|
93
|
-
|
94
|
-
** Not supported language example
|
95
|
-
|
96
|
-
#+BEGIN_SRC notsupported
|
97
|
-
!+!+++!++!++!++!+
|
98
|
-
#+END_SRC
|
99
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
* This headline is in the output
|
2
|
-
* COMMENT Commented headline should not be in the output
|
3
|
-
This should not be in the output either.
|
4
|
-
** This should not be in the output.
|
5
|
-
*** Neither this
|
6
|
-
**** nor this
|
7
|
-
** Not in the output
|
8
|
-
* This is in the output
|
9
|
-
** COMMENT But this is not
|
10
|
-
This is not in the output
|
11
|
-
*** Neither is this
|
12
|
-
** Yet, this is in the output
|
13
|
-
and this is also part of the output
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<p class="title">custom-todo.org</p>
|
2
|
-
<p>I copied this todo sequence from Worg. It shows a lot of power of the built-in todo functionality. Now, let’s make sure all of these are recognized (and therefore NOT exported.)</p>
|
3
|
-
<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
|
4
|
-
<ul>
|
5
|
-
<li>State “CANCELED” from “INPROGRESS” [2009-12-29 Tue 22:26] \ I gave up.</li>
|
6
|
-
<li>State “WAITING” from “” [2009-12-29 Tue 22:25] \ huh?</li>
|
7
|
-
</ul>
|
8
|
-
<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress</h1>
|
9
|
-
<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
|
10
|
-
<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
|
11
|
-
<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
|
12
|
-
<h1>DONT be fooled by just a random word in all caps.</h1>
|
13
|
-
<h1>todo <== this word doesn’t match because the case doesn’t match.</h1>
|
14
|
-
<h1>TODOX</h1>
|
15
|
-
<p>don’t be fooled by the initial substring above!</p>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#+TITLE: custom-todo.org
|
2
|
-
#+DESCRIPTION: Makes sure I can handle custom todo entries
|
3
|
-
#+SEQ_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
|
4
|
-
#+OPTIONS: todo:t
|
5
|
-
|
6
|
-
I copied this todo sequence from Worg. It shows a lot of power of the
|
7
|
-
built-in todo functionality. Now, let's make sure all of these are
|
8
|
-
recognized (and therefore NOT exported.)
|
9
|
-
|
10
|
-
* TODO Sample
|
11
|
-
|
12
|
-
- State "CANCELED" from "INPROGRESS" [2009-12-29 Tue 22:26] \\
|
13
|
-
I gave up.
|
14
|
-
- State "WAITING" from "" [2009-12-29 Tue 22:25] \\
|
15
|
-
huh?
|
16
|
-
|
17
|
-
* INPROGRESS this one's in progress
|
18
|
-
* WAITING who am I waiting on?
|
19
|
-
* DONE Finished this one!
|
20
|
-
* CANCELED I gave up here.
|
21
|
-
* DONT be fooled by just a random word in all caps.
|
22
|
-
* todo <== this word doesn't match because the case doesn't match.
|
23
|
-
* TODOX
|
24
|
-
don't be fooled by the initial substring above!
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<p class="title">custom-todo.org</p>
|
2
|
-
<p>I copied this todo sequence from Worg. It shows a lot of power of the built-in todo functionality. Now, let’s make sure all of these are recognized (and therefore NOT exported.)</p>
|
3
|
-
<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
|
4
|
-
<ul>
|
5
|
-
<li>State “CANCELED” from “INPROGRESS” [2009-12-29 Tue 22:26] \ I gave up.</li>
|
6
|
-
<li>State “WAITING” from “” [2009-12-29 Tue 22:25] \ huh?</li>
|
7
|
-
</ul>
|
8
|
-
<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress</h1>
|
9
|
-
<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
|
10
|
-
<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
|
11
|
-
<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
|
12
|
-
<h1>DONT be fooled by just a random word in all caps.</h1>
|
13
|
-
<h1>todo <== this word doesn’t match because the case doesn’t match.</h1>
|
14
|
-
<h1>TODOX</h1>
|
15
|
-
<p>don’t be fooled by the initial substring above!</p>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#+TITLE: custom-todo.org
|
2
|
-
#+DESCRIPTION: Makes sure I can handle custom todo entries
|
3
|
-
#+TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
|
4
|
-
#+OPTIONS: todo:t
|
5
|
-
|
6
|
-
I copied this todo sequence from Worg. It shows a lot of power of the
|
7
|
-
built-in todo functionality. Now, let's make sure all of these are
|
8
|
-
recognized (and therefore NOT exported.)
|
9
|
-
|
10
|
-
* TODO Sample
|
11
|
-
|
12
|
-
- State "CANCELED" from "INPROGRESS" [2009-12-29 Tue 22:26] \\
|
13
|
-
I gave up.
|
14
|
-
- State "WAITING" from "" [2009-12-29 Tue 22:25] \\
|
15
|
-
huh?
|
16
|
-
|
17
|
-
* INPROGRESS this one's in progress
|
18
|
-
* WAITING who am I waiting on?
|
19
|
-
* DONE Finished this one!
|
20
|
-
* CANCELED I gave up here.
|
21
|
-
* DONT be fooled by just a random word in all caps.
|
22
|
-
* todo <== this word doesn't match because the case doesn't match.
|
23
|
-
* TODOX
|
24
|
-
don't be fooled by the initial substring above!
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<p class="title">custom-todo.org</p>
|
2
|
-
<p>I copied this todo sequence from Worg. It shows a lot of power of the built-in todo functionality. Now, let’s make sure all of these are recognized (and therefore NOT exported.)</p>
|
3
|
-
<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
|
4
|
-
<ul>
|
5
|
-
<li>State “CANCELED” from “INPROGRESS” [2009-12-29 Tue 22:26] \ I gave up.</li>
|
6
|
-
<li>State “WAITING” from “” [2009-12-29 Tue 22:25] \ huh?</li>
|
7
|
-
</ul>
|
8
|
-
<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress</h1>
|
9
|
-
<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
|
10
|
-
<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
|
11
|
-
<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
|
12
|
-
<h1>DONT be fooled by just a random word in all caps.</h1>
|
13
|
-
<h1>todo <== this word doesn’t match because the case doesn’t match.</h1>
|
14
|
-
<h1>TODOX</h1>
|
15
|
-
<p>don’t be fooled by the initial substring above!</p>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#+TITLE: custom-todo.org
|
2
|
-
#+DESCRIPTION: Makes sure I can handle custom todo entries
|
3
|
-
#+TYP_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
|
4
|
-
#+OPTIONS: todo:t
|
5
|
-
|
6
|
-
I copied this todo sequence from Worg. It shows a lot of power of the
|
7
|
-
built-in todo functionality. Now, let's make sure all of these are
|
8
|
-
recognized (and therefore NOT exported.)
|
9
|
-
|
10
|
-
* TODO Sample
|
11
|
-
|
12
|
-
- State "CANCELED" from "INPROGRESS" [2009-12-29 Tue 22:26] \\
|
13
|
-
I gave up.
|
14
|
-
- State "WAITING" from "" [2009-12-29 Tue 22:25] \\
|
15
|
-
huh?
|
16
|
-
|
17
|
-
* INPROGRESS this one's in progress
|
18
|
-
* WAITING who am I waiting on?
|
19
|
-
* DONE Finished this one!
|
20
|
-
* CANCELED I gave up here.
|
21
|
-
* DONT be fooled by just a random word in all caps.
|
22
|
-
* todo <== this word doesn't match because the case doesn't match.
|
23
|
-
* TODOX
|
24
|
-
don't be fooled by the initial substring above!
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<p class="title">ENTITIES</p>
|
2
|
-
<p><code>Org-ruby</code> supports “smart double quotes,” ‘smart single quotes,’ apostrophes for contractions like won’t and can’t, and other things… like elipses. Oh – and dashes.</p>
|
3
|
-
<p>Question: What does org-mode do for ampersands, like R&R? or &lt;? Answer: Those get escaped, too.</p>
|
4
|
-
<h1><Even in headlines! funner & funner!></h1>
|