vimwiki_markdown 0.2.6 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +7 -1
- data/README.md +2 -12
- data/changelog.md +22 -0
- data/lib/vimwiki_markdown/options.rb +7 -20
- data/lib/vimwiki_markdown/template.rb +2 -3
- data/lib/vimwiki_markdown/version.rb +1 -1
- data/lib/vimwiki_markdown/wiki_body.rb +7 -14
- data/spec/lib/vimwiki_markdown/options_spec.rb +19 -14
- data/spec/lib/vimwiki_markdown/template_spec.rb +0 -4
- data/spec/lib/vimwiki_markdown/wiki_body_spec.rb +7 -11
- data/spec/spec_helper.rb +0 -10
- data/vimwiki_markdown.gemspec +11 -11
- metadata +32 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 68815b06a3406acf112329b2df90e5fa3c62c706fad84716995318e0028647cc
|
4
|
+
data.tar.gz: b16e46299ea1b20e449a3558c8b5c2af1bf5bd4985ec183eafe52ebb3125d8df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60836b8d9db398bb67fffeaed1a5941aa009e0a1b3be424ca1aa562d17469ad537a90a344621ee399c87de54884ed16772a211ed8bf172380c88b17196cb56e4
|
7
|
+
data.tar.gz: a77ebf08935ee2921996a379bd730b6c9afbf7aed5270d45a0aaa604563c60b3db3b6fb5e0b7d5cf9764464249cfcd06743f9e4bcc643728ea50f1416e98f71c
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -40,7 +40,8 @@ shouldn't be. Here are links to the relevant bits:
|
|
40
40
|
3. For the moment, remove the call to deleting files `call s:delete_html_files(path_html)` - will work out a way around that later, not there now.
|
41
41
|
4. Might be some other things, check the diff in the above commits or open an issue.
|
42
42
|
|
43
|
-
|
43
|
+
### Install issues.
|
44
|
+
There have been some issues with getting dependencies installed. Before opening an issue, please check if you can use [rvm](http://rvm.io/) to install the gem, as RVM is magic and makes everything work ;)
|
44
45
|
|
45
46
|
### VimWiki Template
|
46
47
|
|
@@ -59,17 +60,6 @@ to [this commit](https://github.com/patrickdavey/vimwiki_markdown/commit/8645883
|
|
59
60
|
It will get rewritten with the relative path to the root
|
60
61
|
of the site (e.g. `./` or `../../` etc)
|
61
62
|
|
62
|
-
#### Using Custom Template Tag
|
63
|
-
|
64
|
-
Including a line with `%template <template name>` in any of your Vimwiki pages will will force the generator to use `<template name>.tpl` rather than `default.tpl` for that page.
|
65
|
-
|
66
|
-
`<template name>` cannot contain any spaces
|
67
|
-
|
68
|
-
#### Using Custom Title Tag
|
69
|
-
|
70
|
-
Including a line with `%title <title name>` in any of your Vimwiki pages will force the generator to replace `%title%` in your template file with `<title name>` rather than the name of the file itself.
|
71
|
-
*You can have spaces in your titles now!*
|
72
|
-
|
73
63
|
## Contributing
|
74
64
|
|
75
65
|
Pull requests are very welcome, especially if you want to implement some of the
|
data/changelog.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## 0.3.1 [March 10 2019]
|
2
|
+
Adds the ability to strip the extension correctly from vimwiki files.
|
3
|
+
For example, the file index.wiki was converted to index.wiki.html.
|
4
|
+
|
5
|
+
Thanks to @bowmanat for the PR.
|
6
|
+
|
7
|
+
This may also very likely break existing links, so, watch out there ;)
|
8
|
+
|
9
|
+
## 0.3.0 [March 10 2019]
|
10
|
+
Rebuilds vimwiki_markdown against the latest versions of Github/Markup etc.
|
11
|
+
|
12
|
+
The tools are somewhat different and so it's quite possible there will be breaking changes here, especially if
|
13
|
+
you have embedded HTML tags inside your markdown files. With a later version of https://github.com/github/markup
|
14
|
+
we should be able to pass options to commonmark and give ourselves more options.
|
15
|
+
|
16
|
+
This also uses rouge for syntax highlighting (fenced code blocks). Finding the documentation for that was fun ;)
|
17
|
+
|
18
|
+
### Breaking changes with 0.3
|
19
|
+
* This removes the title tag functionality which was introduced in 0.2.6 Unfortunately, having spaces in links meant that the new markdown parsing did not see the link as being valid (at least for [foo bar](foo bar) links). This may be reintroduced later.
|
20
|
+
* Requires ruby >= 2.3.8
|
21
|
+
|
22
|
+
|
1
23
|
## 0.2.6 [Jan 18 2018]
|
2
24
|
Add %template and %title options
|
3
25
|
|
@@ -26,7 +26,7 @@ module VimwikiMarkdown
|
|
26
26
|
|
27
27
|
attr_reader :force, :syntax, :extension, :output_dir,
|
28
28
|
:input_file, :css_file, :template_path,
|
29
|
-
:template_default, :template_ext, :root_path
|
29
|
+
:template_default, :template_ext, :root_path
|
30
30
|
|
31
31
|
=begin force : [0/1] overwrite an existing file
|
32
32
|
syntax : the syntax chosen for this wiki
|
@@ -54,26 +54,10 @@ module VimwikiMarkdown
|
|
54
54
|
@template_ext = arguments[TEMPLATE_EXT]
|
55
55
|
@root_path = arguments[ROOT_PATH]
|
56
56
|
@root_path = "./" if @root_path == "-"
|
57
|
-
@tags = pull_tags
|
58
57
|
raise "Must be markdown" unless syntax == 'markdown'
|
59
58
|
end
|
60
59
|
|
61
|
-
def get_file_contents
|
62
|
-
file = File.open(input_file, "r")
|
63
|
-
file.read
|
64
|
-
end
|
65
|
-
|
66
|
-
def pull_tags
|
67
|
-
tags = Hash.new
|
68
|
-
get_file_contents.split("\n").each do |li|
|
69
|
-
tags['template'] = li.split.last if (li[/%template \S+./])
|
70
|
-
tags['title'] = li.sub(/%title /, '') if (li[/%title .+/])
|
71
|
-
end
|
72
|
-
return tags
|
73
|
-
end
|
74
|
-
|
75
60
|
def template_filename
|
76
|
-
return "#{template_path}#{tags['template']}#{template_ext}" if @tags['template']
|
77
61
|
"#{template_path}#{template_default}#{template_ext}"
|
78
62
|
end
|
79
63
|
|
@@ -82,12 +66,15 @@ module VimwikiMarkdown
|
|
82
66
|
end
|
83
67
|
|
84
68
|
def title
|
85
|
-
|
86
|
-
|
69
|
+
File.basename(input_file, "#{extension}").capitalize
|
70
|
+
end
|
71
|
+
|
72
|
+
def output_fullpath
|
73
|
+
"#{output_dir}#{File.basename(input_file, "#{extension}")}.html"
|
87
74
|
end
|
88
75
|
|
89
76
|
def output_fullpath
|
90
|
-
"#{output_dir}#{File.basename(input_file, "
|
77
|
+
"#{output_dir}#{File.basename(input_file, "#{extension}")}.html"
|
91
78
|
end
|
92
79
|
|
93
80
|
private
|
@@ -1,5 +1,4 @@
|
|
1
|
-
require '
|
2
|
-
|
1
|
+
require 'rouge'
|
3
2
|
module VimwikiMarkdown
|
4
3
|
class Template
|
5
4
|
|
@@ -31,7 +30,7 @@ module VimwikiMarkdown
|
|
31
30
|
|
32
31
|
def pygments_wrapped_in_tags
|
33
32
|
"<style type=\"text/css\">
|
34
|
-
#{
|
33
|
+
#{::Rouge::Themes::Github.render(scope: '.highlight')}
|
35
34
|
</style>"
|
36
35
|
end
|
37
36
|
|
@@ -13,13 +13,15 @@ class VimwikiMarkdown::WikiBody
|
|
13
13
|
def to_s
|
14
14
|
@markdown_body = get_wiki_markdown_contents
|
15
15
|
fixlinks
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
html = GitHub::Markup.render_s(
|
17
|
+
GitHub::Markups::MARKUP_MARKDOWN,
|
18
|
+
markdown_body
|
19
|
+
)
|
20
|
+
pipeline = HTML::Pipeline.new([
|
19
21
|
HTML::Pipeline::SyntaxHighlightFilter,
|
20
22
|
HTML::Pipeline::TableOfContentsFilter
|
21
|
-
]
|
22
|
-
result = pipeline.call(
|
23
|
+
], { scope: "highlight"})
|
24
|
+
result = pipeline.call(html)
|
23
25
|
result[:output].to_s
|
24
26
|
end
|
25
27
|
|
@@ -61,13 +63,4 @@ class VimwikiMarkdown::WikiBody
|
|
61
63
|
end
|
62
64
|
end
|
63
65
|
|
64
|
-
def remove_tags
|
65
|
-
@markdown_body.gsub!(/%template \S+/) do
|
66
|
-
""
|
67
|
-
end
|
68
|
-
@markdown_body.gsub!(/%title \S+/) do
|
69
|
-
""
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
66
|
end
|
@@ -3,31 +3,36 @@ require 'vimwiki_markdown/options'
|
|
3
3
|
|
4
4
|
module VimwikiMarkdown
|
5
5
|
describe Options do
|
6
|
-
|
7
|
-
let(:options) { Options.new }
|
8
|
-
subject {options}
|
6
|
+
subject { Options.new }
|
9
7
|
|
10
8
|
context "no options passed" do
|
11
9
|
before do
|
12
|
-
allow(File).to receive(:open).and_return(StringIO.new("# title \n ## subtitle"))
|
13
10
|
allow(Options).to receive(:arguments).and_return(Options::DEFAULTS)
|
14
11
|
end
|
15
12
|
|
16
13
|
its(:force) { should be(true) }
|
17
14
|
its(:syntax) { should eq('markdown') }
|
18
|
-
its(:output_fullpath) { should eq("#{subject.output_dir}#{
|
15
|
+
its(:output_fullpath) { should eq("#{subject.output_dir}#{subject.title.parameterize}.html") }
|
19
16
|
its(:template_filename) { should eq('~/vimwiki/templates/default.tpl') }
|
20
|
-
end
|
21
17
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
18
|
+
describe "extension" do
|
19
|
+
it "deals with a different wiki extension correctly" do
|
20
|
+
allow(Options).to receive(:arguments).and_return(
|
21
|
+
["1", #force - 1/0
|
22
|
+
"markdown",
|
23
|
+
"wiki",
|
24
|
+
"~/vimwiki/site_html/",
|
25
|
+
"~/vimwiki/index.wiki",
|
26
|
+
"~/vimwiki/site_html/style.css",
|
27
|
+
"~/vimwiki/templates/",
|
28
|
+
"default",
|
29
|
+
".tpl",
|
30
|
+
"-"]
|
31
|
+
)
|
27
32
|
|
28
|
-
|
29
|
-
|
33
|
+
expect(Options.new.title).to eq("Index")
|
34
|
+
end
|
35
|
+
end
|
30
36
|
end
|
31
|
-
|
32
37
|
end
|
33
38
|
end
|
@@ -7,13 +7,11 @@ require 'rspec-html-matchers'
|
|
7
7
|
module VimwikiMarkdown
|
8
8
|
describe Template do
|
9
9
|
let(:options) { Options.new }
|
10
|
-
let(:markdown_file_content) {wiki_index_markdown}
|
11
10
|
|
12
11
|
context "template" do
|
13
12
|
|
14
13
|
subject { Template.new(options).to_s }
|
15
14
|
before do
|
16
|
-
allow(File).to receive(:open).and_return(StringIO.new(markdown_file_content))
|
17
15
|
allow(Options).to receive(:arguments).and_return(Options::DEFAULTS)
|
18
16
|
allow(File).to receive(:open).with(options.template_filename,"r").and_return(StringIO.new(wiki_template))
|
19
17
|
end
|
@@ -24,7 +22,6 @@ module VimwikiMarkdown
|
|
24
22
|
|
25
23
|
context "missing pygments" do
|
26
24
|
before do
|
27
|
-
allow(File).to receive(:open).and_return(StringIO.new(markdown_file_content))
|
28
25
|
allow(Options).to receive(:arguments).and_return(Options::DEFAULTS)
|
29
26
|
end
|
30
27
|
|
@@ -36,7 +33,6 @@ module VimwikiMarkdown
|
|
36
33
|
|
37
34
|
context "using %root_path%" do
|
38
35
|
before do
|
39
|
-
allow(File).to receive(:open).and_return(StringIO.new(markdown_file_content))
|
40
36
|
allow(Options).to receive(:arguments).and_return(Options::DEFAULTS)
|
41
37
|
end
|
42
38
|
|
@@ -13,6 +13,7 @@ module VimwikiMarkdown
|
|
13
13
|
allow(wiki_body).to receive(:get_wiki_markdown_contents).and_return(markdown_file_content)
|
14
14
|
allow_any_instance_of(VimwikiMarkdown::VimwikiLink).to receive(:vimwiki_markdown_file_exists?).and_return(true)
|
15
15
|
expect(wiki_body.to_s).to match(/<a href="books.html">Books<\/a>/)
|
16
|
+
expect(wiki_body.to_s).to match(/<a href="bash-tips.html">Bash Tips<\/a>/)
|
16
17
|
end
|
17
18
|
|
18
19
|
it "must convert wiki links with separate titles correctly" do
|
@@ -39,17 +40,12 @@ module VimwikiMarkdown
|
|
39
40
|
expect(wiki_body.to_s).to match(/<a href="there.html">there<\/a>/)
|
40
41
|
end
|
41
42
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
it "must remove title tags" do
|
49
|
-
allow(wiki_body).to receive(:get_wiki_markdown_contents).and_return("%title test\n")
|
50
|
-
expect(wiki_body.to_s).not_to match(/%title/)
|
51
|
-
expect(wiki_body.to_s).not_to match(/test/)
|
43
|
+
describe "syntax highlighting" do
|
44
|
+
it "must give correct classes" do
|
45
|
+
allow(wiki_body).to receive(:get_wiki_markdown_contents)
|
46
|
+
.and_return("```bash\n find ./path -type f -exec sed -i 's/find_this/replace_this/g' {} \\;\n```\n")
|
47
|
+
expect(wiki_body.to_s).to match(/highlight/)
|
48
|
+
end
|
52
49
|
end
|
53
50
|
end
|
54
|
-
|
55
51
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -110,16 +110,6 @@ def wiki_index_markdown
|
|
110
110
|
"
|
111
111
|
end
|
112
112
|
|
113
|
-
def wiki_template_title_markdown
|
114
|
-
"
|
115
|
-
%title super cool title\n
|
116
|
-
%template alt_template\n
|
117
|
-
## Todo\n
|
118
|
-
1. add template functionality\n
|
119
|
-
2. add title functionality\n
|
120
|
-
"
|
121
|
-
end
|
122
|
-
|
123
113
|
def wiki_template
|
124
114
|
<<-WIKITEMPLATE
|
125
115
|
<!DOCTYPE html>
|
data/vimwiki_markdown.gemspec
CHANGED
@@ -12,24 +12,24 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = %q{Converts a vimwiki markdown file to html. It parses [[links]] and has support for syntax highlighting.}
|
13
13
|
spec.homepage = "https://github.com/patrickdavey/wimwiki_markdown"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = '>=
|
15
|
+
spec.required_ruby_version = '>= 2.3.8'
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.
|
22
|
-
spec.add_development_dependency "rake"
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.0"
|
22
|
+
spec.add_development_dependency "rake", "~> 11.2"
|
23
23
|
spec.add_development_dependency "rspec", "~> 3.0"
|
24
|
-
spec.add_development_dependency "pry", "
|
25
|
-
spec.add_development_dependency "rspec-its", "~> 1.1
|
24
|
+
spec.add_development_dependency "pry", "~> 0.12"
|
25
|
+
spec.add_development_dependency "rspec-its", "~> 1.1"
|
26
26
|
spec.add_development_dependency "rspec-html-matchers", "~> 0.6.1"
|
27
27
|
spec.add_development_dependency "guard-rspec", "~> 4.3"
|
28
28
|
|
29
|
-
spec.add_runtime_dependency "activesupport", "~> 4.1
|
30
|
-
spec.add_runtime_dependency "github-markup", "~>
|
31
|
-
spec.add_runtime_dependency "
|
32
|
-
spec.add_runtime_dependency "
|
33
|
-
spec.add_runtime_dependency "
|
34
|
-
spec.add_runtime_dependency "
|
29
|
+
spec.add_runtime_dependency "activesupport", "~> 4.1"
|
30
|
+
spec.add_runtime_dependency "github-markup", "~> 3.0"
|
31
|
+
spec.add_runtime_dependency "commonmarker", "~> 0.18.0"
|
32
|
+
spec.add_runtime_dependency "html-pipeline", "~> 2.0"
|
33
|
+
spec.add_runtime_dependency "rouge", "~> 3.3"
|
34
|
+
spec.add_runtime_dependency "escape_utils", "~> 1.2"
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vimwiki_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Davey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.0'
|
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: '1.
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '11.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: '
|
40
|
+
version: '11.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,30 +56,30 @@ dependencies:
|
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: '0.12'
|
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: '0.12'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-its
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.1
|
75
|
+
version: '1.1'
|
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: 1.1
|
82
|
+
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-html-matchers
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,84 +114,84 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 4.1
|
117
|
+
version: '4.1'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 4.1
|
124
|
+
version: '4.1'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: github-markup
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '3.0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: '3.0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: commonmarker
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.18.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.18.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: html-pipeline
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: '2.0'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: '2.0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: rouge
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.
|
173
|
+
version: '3.3'
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 3.
|
180
|
+
version: '3.3'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: escape_utils
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
187
|
+
version: '1.2'
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
194
|
+
version: '1.2'
|
195
195
|
description: Converts a vimwiki markdown file to html. It parses [[links]] and has
|
196
196
|
support for syntax highlighting.
|
197
197
|
email:
|
@@ -237,7 +237,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
237
237
|
requirements:
|
238
238
|
- - ">="
|
239
239
|
- !ruby/object:Gem::Version
|
240
|
-
version:
|
240
|
+
version: 2.3.8
|
241
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
242
|
requirements:
|
243
243
|
- - ">="
|
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
247
|
rubyforge_project:
|
248
|
-
rubygems_version: 2.
|
248
|
+
rubygems_version: 2.7.9
|
249
249
|
signing_key:
|
250
250
|
specification_version: 4
|
251
251
|
summary: Converts a github flavoured markdown vimwiki file into html.
|