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 CHANGED
@@ -1,4 +1,5 @@
1
1
  generated_slides
2
2
  test.org
3
3
  test.html
4
- *_slides
4
+ *_slides
5
+ pkg/*
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
- # 1. install gem
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
@@ -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>
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  module OrgmodeCliTools
3
3
 
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
 
6
6
  end
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.1.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-01-05 00:00:00.000000000 Z
12
+ date: 2013-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime