orgmode-cli-tools 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/README.MD +2 -3
- data/bin/org2revealjs +4 -0
- data/lib/orgmode_cli_tools.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/README.MD
CHANGED
@@ -21,10 +21,9 @@ These tools depend on Ruby and Emacs 24.x.
|
|
21
21
|
Install
|
22
22
|
=======
|
23
23
|
|
24
|
-
|
25
|
-
# 2. check emacs dependencies
|
26
|
-
# Your emacs has to support orgmode html export with htmlize
|
24
|
+
`gem install orgmode-cli-tools`
|
27
25
|
|
26
|
+
TODO describe emacs deps
|
28
27
|
|
29
28
|
|
30
29
|
Usage
|
data/bin/org2revealjs
CHANGED
@@ -19,9 +19,13 @@ def transform_divs_into_sections(html_markup)
|
|
19
19
|
doc.css("div").each do |node|
|
20
20
|
node.node_name = "section"
|
21
21
|
end
|
22
|
+
doc.css("li").each do |node|
|
23
|
+
node['class']="fragment"
|
24
|
+
end
|
22
25
|
doc.css("#content").inner_html
|
23
26
|
end
|
24
27
|
|
28
|
+
|
25
29
|
def slide_layout(title, body)
|
26
30
|
<<MARKUP
|
27
31
|
<!doctype html>
|
data/lib/orgmode_cli_tools.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: orgmode-cli-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Thomas Kjeldahl Nilsson
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
type: :runtime
|