madowu 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,15 +25,16 @@ class Madowu::HtmlGenerator
25
25
 
26
26
  # 'title' element in head is set as first /^#/ in md_file.
27
27
  def generate(options = {})
28
- embed_outline if options[:outline]
28
+ embed_outline(options[:selflink]) if options[:outline]
29
29
 
30
- if options[:dirmap]
31
- md_dir = Pathname.new(@md_file).dirname.expand_path
32
- embed_sidebar( Madowu::DirectoryMapper.dirmap(md_dir) )
33
- end
30
+ #if options[:dirmap]
31
+ # md_dir = Pathname.new(@md_file).dirname.expand_path
32
+ # embed_sidebar( Madowu::DirectoryMapper.dirmap(md_dir) )
33
+ #end
34
34
 
35
35
  if options[:sidebar]
36
- lines = File.open( options[:sidebar], "r").readlines
36
+ #lines = File.open( options[:sidebar], "r").readlines
37
+ lines = `#{@markdown} #{options[:sidebar]}`.split("\n")
37
38
  embed_sidebar(lines)
38
39
  end
39
40
 
@@ -53,28 +54,61 @@ class Madowu::HtmlGenerator
53
54
  @markup_lines += lines
54
55
  end
55
56
 
56
- def embed_outline
57
+ def embed_outline(option_selflink = false)
57
58
  new_lines = []
58
59
  outlines = []
59
- outlines << "<div class='header'>"
60
- outlines << "<p>Outline:</p>"
61
- outlines << "<ul class='outline'>"
62
- counter = 0
63
-
60
+ anchor_index = 0
64
61
  @markup_lines.each do |line|
65
62
  #pp line
66
63
  new_line = line
67
64
  if /^\<h(\d)\>(.*)\<\/h(\d)\>$/ =~ line
68
- new_line = "<h#{$1}><a name='#{counter.to_s}'>#{$2}</a></h#{$3}>"
69
- outlines << " <li><a href='\##{counter}'>#{' + ' * ($1.to_i-1)}#{$2}</a></ll>"
70
- counter += 1
65
+ new_line = ''
66
+ new_line += "<h#{$1}><a name='#{anchor_index.to_s}'"
67
+ new_line += " href='\##{anchor_index.to_s}'" if option_selflink
68
+ new_line += ">#{$2}</a></h#{$3}>"
69
+
70
+ #outlines << " <li><a href='\##{anchor_index}'>#{' + ' * ($1.to_i-1)}#{$2}</a></ll>"
71
+ #pp "#{' ' * (($1.to_i) -1) * 4}* [#{$2}](\##{anchor_index})"
72
+ outlines << "#{' ' * (($1.to_i) -1) * 4}* [#{$2}](\##{anchor_index})"
73
+ anchor_index += 1
71
74
  end
72
75
  new_lines << new_line
73
76
  end
74
- outlines << "</ul>"
75
- outlines << "</div>"
77
+
78
+ io = IO.popen(@markdown, "r+")
79
+ io.write outlines.join("\n")
80
+ io.close_write
81
+ outlines = io.readlines.map {|i| i.chomp}
82
+
83
+ outlines.unshift( "<div class='header'>", "<p>Outline:</p>")
84
+ outlines.push "</div>"
76
85
 
77
86
  @markup_lines = outlines + new_lines
87
+
88
+ #new_lines = []
89
+ #outlines = []
90
+ #outlines << "<div class='header'>"
91
+ #outlines << "<p>Outline:</p>"
92
+ #outlines << "<ul class='outline'>"
93
+ #counter = 0
94
+
95
+ #@markup_lines.each do |line|
96
+ # #pp line
97
+ # new_line = line
98
+ # if /^\<h(\d)\>(.*)\<\/h(\d)\>$/ =~ line
99
+ # new_line = ''
100
+ # new_line += "<h#{$1}><a name='#{counter.to_s}'"
101
+ # new_line += " href='\##{counter.to_s}'" if option_selflink
102
+ # new_line += ">#{$2}</a></h#{$3}>"
103
+ # outlines << " <li><a href='\##{counter}'>#{' + ' * ($1.to_i-1)}#{$2}</a></ll>"
104
+ # counter += 1
105
+ # end
106
+ # new_lines << new_line
107
+ #end
108
+ #outlines << "</ul>"
109
+ #outlines << "</div>"
110
+
111
+ #@markup_lines = outlines + new_lines
78
112
  end
79
113
 
80
114
  def make_header(css, charset)
@@ -85,7 +119,7 @@ class Madowu::HtmlGenerator
85
119
 
86
120
  results = []
87
121
  results << "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>"
88
- results << "<HTML lang=\'ja\'>"
122
+ results << "<html lang=\'ja\'>"
89
123
  results << "<head>"
90
124
  results << " <title>#{title}</title>"
91
125
  results << " <meta http-equiv='Content-Type' content='text/html; charset=#{charset}'>"
data/madowu.gemspec CHANGED
@@ -2,19 +2,19 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: madowu 0.0.2 ruby lib
5
+ # stub: madowu 0.0.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "madowu"
9
- s.version = "0.0.2"
9
+ s.version = "0.0.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["ippei94da"]
14
- s.date = "2015-10-20"
14
+ s.date = "2016-02-26"
15
15
  s.description = "Markdown to HTML with table of contents, sidebar to neighboring directories."
16
16
  s.email = "ippei94da@gmail.com"
17
- s.executables = ["dirmap", "madowu"]
17
+ s.executables = ["dirmap", "madowu", "tex2image"]
18
18
  s.extra_rdoc_files = [
19
19
  "LICENSE.txt",
20
20
  "README.rdoc"
@@ -29,15 +29,28 @@ Gem::Specification.new do |s|
29
29
  "VERSION",
30
30
  "bin/dirmap",
31
31
  "bin/madowu",
32
+ "bin/tex2image",
33
+ "doc/.dirmap.md",
34
+ "doc/.gitignore",
35
+ "doc/Rakefile",
36
+ "doc/index.md",
37
+ "doc/madowu.css",
32
38
  "example/.gitignore",
33
39
  "example/Rakefile",
34
40
  "example/enum.md",
41
+ "example/eq.tex",
35
42
  "example/heading.md",
36
43
  "example/index.md",
37
44
  "example/list.md",
38
45
  "example/madowu.css",
46
+ "example/subdir/Rakefile",
39
47
  "example/subdir/index.md",
48
+ "example/subdir/madowu.css",
49
+ "example/subdir/subdir2/Rakefile",
40
50
  "example/subdir/subdir2/index.md",
51
+ "example/subdir/subdir2/madowu.css",
52
+ "example/tex2image/.gitignore",
53
+ "example/tex2image/eq.tex",
41
54
  "lib/madowu.rb",
42
55
  "lib/madowu/directorymapper.rb",
43
56
  "lib/madowu/htmlgenerator.rb",
@@ -70,24 +83,24 @@ Gem::Specification.new do |s|
70
83
  s.specification_version = 4
71
84
 
72
85
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
86
+ s.add_development_dependency(%q<test-unit>, ["~> 3.1"])
73
87
  s.add_development_dependency(%q<rdoc>, ["~> 4.2"])
74
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
88
+ s.add_development_dependency(%q<bundler>, ["~> 1.11"])
75
89
  s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
76
- s.add_development_dependency(%q<simplecov>, ["~> 0"])
77
- s.add_development_dependency(%q<test-unit>, ["~> 3.1"])
90
+ s.add_development_dependency(%q<simplecov>, ["~> 0.11"])
78
91
  else
92
+ s.add_dependency(%q<test-unit>, ["~> 3.1"])
79
93
  s.add_dependency(%q<rdoc>, ["~> 4.2"])
80
- s.add_dependency(%q<bundler>, ["~> 1.0"])
94
+ s.add_dependency(%q<bundler>, ["~> 1.11"])
81
95
  s.add_dependency(%q<jeweler>, ["~> 2.0"])
82
- s.add_dependency(%q<simplecov>, ["~> 0"])
83
- s.add_dependency(%q<test-unit>, ["~> 3.1"])
96
+ s.add_dependency(%q<simplecov>, ["~> 0.11"])
84
97
  end
85
98
  else
99
+ s.add_dependency(%q<test-unit>, ["~> 3.1"])
86
100
  s.add_dependency(%q<rdoc>, ["~> 4.2"])
87
- s.add_dependency(%q<bundler>, ["~> 1.0"])
101
+ s.add_dependency(%q<bundler>, ["~> 1.11"])
88
102
  s.add_dependency(%q<jeweler>, ["~> 2.0"])
89
- s.add_dependency(%q<simplecov>, ["~> 0"])
90
- s.add_dependency(%q<test-unit>, ["~> 3.1"])
103
+ s.add_dependency(%q<simplecov>, ["~> 0.11"])
91
104
  end
92
105
  end
93
106
 
@@ -12,23 +12,32 @@ class TC_Klass < Test::Unit::TestCase
12
12
  #end
13
13
 
14
14
  def test_map
15
- correct = []
16
- correct << "<p>Parent directory:</p>"
17
- correct << "<ul>"
18
- correct << " <li> <a href='../'>../</a>"
19
- correct << "</ul>"
20
- correct << "<p>Current directory:</p>"
21
- correct << "<ul>"
22
- correct << " <li> <a href='dir/index.html'>dir/</a> (dir_index_md)"
23
- correct << " <li> <a href='foo.html'>foo.html</a> (foo_md)"
24
- correct << " <li> <a href='index.html'>index.html</a> (title_index.html)"
25
- correct << "</ul>"
26
- assert_equal(correct, Madowu::DirectoryMapper.dirmap("test/directorymapper/dir2"))
27
-
28
- #pp Madowu::DirectoryMapper.dirmap("/home/ippei/doc/bookmark/")
29
-
15
+ #correct = []
16
+ #correct << "<p>Parent directory:</p>"
17
+ #correct << "<ul>"
18
+ #correct << " <li> <a href='../'>../</a>"
19
+ #correct << "</ul>"
20
+ #correct << "<p>Current directory:</p>"
21
+ #correct << "<ul>"
22
+ #correct << " <li> <a href='dir/index.html'>dir/</a> (dir_index_md)"
23
+ #correct << " <li> <a href='foo.html'>foo.html</a> (foo_md)"
24
+ #correct << " <li> <a href='index.html'>index.html</a> (title_index.html)"
25
+ #correct << "</ul>"
26
+ #assert_equal(correct, Madowu::DirectoryMapper.dirmap("test/directorymapper/dir2"))
30
27
 
28
+ ##pp Madowu::DirectoryMapper.dirmap("/home/ippei/doc/bookmark/")
31
29
 
30
+ correct = []
31
+ correct << "Parent directory:"
32
+ correct << ""
33
+ correct << "* [../](../)"
34
+ correct << ""
35
+ correct << "Current directory:"
36
+ correct << ""
37
+ correct << "* [dir/](dir/index.html) (dir_index_md)"
38
+ correct << "* [foo.html](foo.html) (foo_md)"
39
+ correct << "* [index.html](index.html) (title_index.html)"
40
+ assert_equal(correct, Madowu::DirectoryMapper.dirmap("test/directorymapper/dir2"))
32
41
  end
33
42
 
34
43
  def test_get_title
@@ -21,7 +21,7 @@ class TC_HtmlGenerator < Test::Unit::TestCase
21
21
  def test_generate
22
22
  correct = []
23
23
  correct << "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>"
24
- correct << "<HTML lang=\'ja\'>"
24
+ correct << "<html lang=\'ja\'>"
25
25
  correct << "<head>"
26
26
  correct << " <title></title>"
27
27
  correct << " <meta http-equiv='Content-Type' content='text/html; charset=us-ascii'>"
@@ -38,7 +38,7 @@ class TC_HtmlGenerator < Test::Unit::TestCase
38
38
  # charset
39
39
  correct = []
40
40
  correct << "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>"
41
- correct << "<HTML lang=\'ja\'>"
41
+ correct << "<html lang=\'ja\'>"
42
42
  correct << "<head>"
43
43
  correct << " <title></title>"
44
44
  correct << " <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>"
@@ -52,12 +52,11 @@ class TC_HtmlGenerator < Test::Unit::TestCase
52
52
  correct = correct.join("\n")
53
53
  assert_equal( correct, @h00.generate({:charset => "UTF-8"}))
54
54
 
55
-
56
55
  h04 = Madowu::HtmlGenerator.new("test/subdir/empty.md")
57
56
  options = {:css => "test/test.css"}
58
57
  correct = []
59
58
  correct << "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>"
60
- correct << "<HTML lang=\'ja\'>"
59
+ correct << "<html lang=\'ja\'>"
61
60
  correct << "<head>"
62
61
  correct << " <title></title>"
63
62
  correct << " <meta http-equiv='Content-Type' content='text/html; charset=us-ascii'>"
@@ -74,48 +73,114 @@ class TC_HtmlGenerator < Test::Unit::TestCase
74
73
  end
75
74
 
76
75
  def test_embed_outline
76
+ correct = [
77
+ "<div class='header'>",
78
+ "<p>Outline:</p>",
79
+ "<ul>",
80
+ "<li><a href=\"#0\">head1</a>",
81
+ "<ul>",
82
+ "<li><a href=\"#1\">head2</a>",
83
+ "<ul>",
84
+ "<li><a href=\"#2\">head3</a>",
85
+ "<ul>",
86
+ "<li><a href=\"#3\">head4</a>",
87
+ "<ul>",
88
+ "<li><a href=\"#4\">head5</a>",
89
+ "<ul>",
90
+ "<li><a href=\"#5\">head6</a></li>",
91
+ "</ul></li>",
92
+ "</ul></li>",
93
+ "</ul></li>",
94
+ "</ul></li>",
95
+ "</ul></li>",
96
+ "</ul>",
97
+ "</div>",
98
+ "<h1><a name='0'>head1</a></h1>",
99
+ "",
100
+ "<p>line1</p>",
101
+ "",
102
+ "<h2><a name='1'>head2</a></h2>",
103
+ "",
104
+ "<p>line2</p>",
105
+ "",
106
+ "<h3><a name='2'>head3</a></h3>",
107
+ "",
108
+ "<p>line3</p>",
109
+ "",
110
+ "<h4><a name='3'>head4</a></h4>",
111
+ "",
112
+ "<p>line4</p>",
113
+ "",
114
+ "<h5><a name='4'>head5</a></h5>",
115
+ "",
116
+ "<p>line5</p>",
117
+ "",
118
+ "<h6><a name='5'>head6</a></h6>",
119
+ "",
120
+ "<p>line6</p>"
121
+ ]
122
+ @h01.embed_outline
123
+ assert_equal( correct, @h01.markup_lines)
124
+
77
125
  correct = []
78
126
  correct << "<div class='header'>"
79
127
  correct << "<p>Outline:</p>"
80
- correct << "<ul class='outline'>"
81
- correct << " <li><a href='#0'>head1</a></ll>"
82
- correct << " <li><a href='#1'> + head2</a></ll>"
83
- correct << " <li><a href='#2'> + + head3</a></ll>"
84
- correct << " <li><a href='#3'> + + + head4</a></ll>"
85
- correct << " <li><a href='#4'> + + + + head5</a></ll>"
86
- correct << " <li><a href='#5'> + + + + + head6</a></ll>"
128
+ correct << "<ul>"
129
+ correct << '<li><a href="#0">head1</a></li>'
87
130
  correct << "</ul>"
88
131
  correct << "</div>"
89
- correct << "<h1><a name='0'>head1</a></h1>"
90
- correct << ""
91
- correct << "<p>line1</p>"
92
- correct << ""
93
- correct << "<h2><a name='1'>head2</a></h2>"
94
- correct << ""
95
- correct << "<p>line2</p>"
96
- correct << ""
97
- correct << "<h3><a name='2'>head3</a></h3>"
98
- correct << ""
99
- correct << "<p>line3</p>"
100
- correct << ""
101
- correct << "<h4><a name='3'>head4</a></h4>"
102
- correct << ""
103
- correct << "<p>line4</p>"
104
- correct << ""
105
- correct << "<h5><a name='4'>head5</a></h5>"
106
- correct << ""
107
- correct << "<p>line5</p>"
108
- correct << ""
109
- correct << "<h6><a name='5'>head6</a></h6>"
110
- correct << ""
111
- correct << "<p>line6</p>"
112
-
113
- @h01.embed_outline
114
- #puts correct
115
- #puts "-"*60
116
- #puts @h01.markup_lines
117
- #exit
118
- assert_equal( correct, @h01.markup_lines)
132
+ correct << "<h1><a name='0' href='#0'>head1</a></h1>"
133
+ @h02.embed_outline(true)
134
+ assert_equal( correct, @h02.markup_lines)
135
+
136
+ #correct = []
137
+ #correct << "<div class='header'>"
138
+ #correct << "<p>Outline:</p>"
139
+ #correct << "<ul class='outline'>"
140
+ #correct << " <li><a href='#0'>head1</a></ll>"
141
+ #correct << " <li><a href='#1'> + head2</a></ll>"
142
+ #correct << " <li><a href='#2'> + + head3</a></ll>"
143
+ #correct << " <li><a href='#3'> + + + head4</a></ll>"
144
+ #correct << " <li><a href='#4'> + + + + head5</a></ll>"
145
+ #correct << " <li><a href='#5'> + + + + + head6</a></ll>"
146
+ #correct << "</ul>"
147
+ #correct << "</div>"
148
+ #correct << "<h1><a name='0'>head1</a></h1>"
149
+ #correct << ""
150
+ #correct << "<p>line1</p>"
151
+ #correct << ""
152
+ #correct << "<h2><a name='1'>head2</a></h2>"
153
+ #correct << ""
154
+ #correct << "<p>line2</p>"
155
+ #correct << ""
156
+ #correct << "<h3><a name='2'>head3</a></h3>"
157
+ #correct << ""
158
+ #correct << "<p>line3</p>"
159
+ #correct << ""
160
+ #correct << "<h4><a name='3'>head4</a></h4>"
161
+ #correct << ""
162
+ #correct << "<p>line4</p>"
163
+ #correct << ""
164
+ #correct << "<h5><a name='4'>head5</a></h5>"
165
+ #correct << ""
166
+ #correct << "<p>line5</p>"
167
+ #correct << ""
168
+ #correct << "<h6><a name='5'>head6</a></h6>"
169
+ #correct << ""
170
+ #correct << "<p>line6</p>"
171
+ #@h01.embed_outline
172
+ #assert_equal( correct, @h01.markup_lines)
173
+
174
+ #correct = []
175
+ #correct << "<div class='header'>"
176
+ #correct << "<p>Outline:</p>"
177
+ #correct << "<ul class='outline'>"
178
+ #correct << " <li><a href='#0'>head1</a></ll>"
179
+ #correct << "</ul>"
180
+ #correct << "</div>"
181
+ #correct << "<h1><a name='0' href='#0'>head1</a></h1>"
182
+ #@h02.embed_outline(true)
183
+ #assert_equal( correct, @h02.markup_lines)
119
184
  end
120
185
 
121
186
  def test_embed_sidebar
metadata CHANGED
@@ -1,90 +1,91 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madowu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ippei94da
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-20 00:00:00.000000000 Z
11
+ date: 2016-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rdoc
14
+ name: test-unit
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: '3.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: rdoc
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
33
+ version: '4.2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.0'
40
+ version: '4.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jeweler
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.0'
47
+ version: '1.11'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.0'
54
+ version: '1.11'
55
55
  - !ruby/object:Gem::Dependency
56
- name: simplecov
56
+ name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '2.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '2.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: test-unit
70
+ name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.1'
75
+ version: '0.11'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.1'
82
+ version: '0.11'
83
83
  description: Markdown to HTML with table of contents, sidebar to neighboring directories.
84
84
  email: ippei94da@gmail.com
85
85
  executables:
86
86
  - dirmap
87
87
  - madowu
88
+ - tex2image
88
89
  extensions: []
89
90
  extra_rdoc_files:
90
91
  - LICENSE.txt
@@ -99,15 +100,28 @@ files:
99
100
  - VERSION
100
101
  - bin/dirmap
101
102
  - bin/madowu
103
+ - bin/tex2image
104
+ - doc/.dirmap.md
105
+ - doc/.gitignore
106
+ - doc/Rakefile
107
+ - doc/index.md
108
+ - doc/madowu.css
102
109
  - example/.gitignore
103
110
  - example/Rakefile
104
111
  - example/enum.md
112
+ - example/eq.tex
105
113
  - example/heading.md
106
114
  - example/index.md
107
115
  - example/list.md
108
116
  - example/madowu.css
117
+ - example/subdir/Rakefile
109
118
  - example/subdir/index.md
119
+ - example/subdir/madowu.css
120
+ - example/subdir/subdir2/Rakefile
110
121
  - example/subdir/subdir2/index.md
122
+ - example/subdir/subdir2/madowu.css
123
+ - example/tex2image/.gitignore
124
+ - example/tex2image/eq.tex
111
125
  - lib/madowu.rb
112
126
  - lib/madowu/directorymapper.rb
113
127
  - lib/madowu/htmlgenerator.rb