tocmd 0.1.5 → 0.1.6
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.
- checksums.yaml +4 -4
- data/bin/tocmd +0 -0
- data/lib/tocmd/markdown_render.rb +0 -0
- data/lib/tocmd/translator.rb +1 -1
- data/lib/tocmd/version.rb +1 -1
- data/lib/tocmd.rb +0 -0
- data/test/mdptest.rb +0 -0
- data/vendor/meta.js +0 -0
- data/vendor/template.html +0 -0
- data/vendor/toc/css/demo.css +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/1_close.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/1_open.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/2.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/3.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/4.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/5.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/6.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/7.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/8.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/diy/9.png +0 -0
- data/vendor/toc/css/zTreeStyle/img/line_conn.gif +0 -0
- data/vendor/toc/css/zTreeStyle/img/loading.gif +0 -0
- data/vendor/toc/css/zTreeStyle/img/zTreeStandard.gif +0 -0
- data/vendor/toc/css/zTreeStyle/img/zTreeStandard.png +0 -0
- data/vendor/toc/css/zTreeStyle/zTreeStyle.css +0 -0
- data/vendor/toc/js/jquery-1.4.4.min.js +0 -0
- data/vendor/toc/js/jquery.ztree.all-3.5.min.js +0 -0
- data/vendor/toc/js/ztree_toc.js +0 -0
- data/vendor/toc/js/ztree_toc.min.js +0 -0
- data/vendor/toc/style/Clearness Dark.css +0 -0
- data/vendor/toc/style/Clearness.css +0 -0
- data/vendor/toc/style/GitHub.css +0 -0
- data/vendor/toc/style/GitHub2.css +0 -0
- data/vendor/toc/style/github-bf51422f4bb36427d391e4b75a1daa083c2d840e.css +0 -0
- data/vendor/toc/style/github2-d731afd4f624c99a4b19ad69f3083cd6d02b81d5.css +0 -0
- data/vendor/toc/style/makedownpad.css +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b059101b2d893f4a571cd00782ff0537ec5123c8
|
|
4
|
+
data.tar.gz: 26cc39a37fb82e07de9eb8532a44580d10d4f819
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcbedff24185fcc1cfc9d3489dc7ffb8337e7036e2f1a302a9258a239f41b3f1c9d91ef7cfd3faf044b5e5a5367c28c73520321cc5c72085a7f102d8b53ba28a
|
|
7
|
+
data.tar.gz: 32bd249b14aefd51658398332cf5f9d4a697df0328a574a29e0809dd122ec94c538f6881f31365e8d0c6bbd53c2bcb575c5987f3b6a71e34e11df3267450fd89
|
data/bin/tocmd
CHANGED
|
File without changes
|
|
File without changes
|
data/lib/tocmd/translator.rb
CHANGED
|
@@ -133,7 +133,7 @@ class Tocmd::Translator
|
|
|
133
133
|
# options = [:fenced_code,:generate_toc,:hard_wrap,:no_intraemphasis,:strikethrough,:gh_blockcode,:autolink,:xhtml,:tables]
|
|
134
134
|
|
|
135
135
|
# convert to html
|
|
136
|
-
markdown = Redcarpet::Markdown.new(HTMLwithPygments,:gh_blockcode=>true,:no_intra_emphasis=>true,:filter_html => true,:hard_wrap => true,:autolink =>
|
|
136
|
+
markdown = Redcarpet::Markdown.new(HTMLwithPygments,:gh_blockcode=>true,:no_intra_emphasis=>true,:filter_html => true,:hard_wrap => true,:autolink => false, :space_after_headers => true,:fenced_code_blocks => true,:tables => true)
|
|
137
137
|
parse_markdown = markdown.render(text)
|
|
138
138
|
# parse_markdown = syntax_highlighter(parse_markdown)
|
|
139
139
|
|
data/lib/tocmd/version.rb
CHANGED
data/lib/tocmd.rb
CHANGED
|
File without changes
|
data/test/mdptest.rb
CHANGED
|
File without changes
|
data/vendor/meta.js
CHANGED
|
File without changes
|
data/vendor/template.html
CHANGED
|
File without changes
|
data/vendor/toc/css/demo.css
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/vendor/toc/js/ztree_toc.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/vendor/toc/style/GitHub.css
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tocmd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- shiren1118
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: convert markdown to html with toc plugin
|
|
14
14
|
email:
|
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
version: '0'
|
|
73
73
|
requirements: []
|
|
74
74
|
rubyforge_project:
|
|
75
|
-
rubygems_version: 2.2.
|
|
75
|
+
rubygems_version: 2.2.2
|
|
76
76
|
signing_key:
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: convert markdown to html with toc plugin
|