md2conf 0.2.2 → 0.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/md2conf.rb +8 -1
- data/lib/md2conf/version.rb +1 -1
- 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: 72a17ca53c014ad3c78ddb9bb41d030fb5b92c34
|
|
4
|
+
data.tar.gz: fc715188ab13b6341b1e3689e2c2eeec708fa108
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e09482e9c8db0a3200ec38001355fc091de0c8aa7d17e6ad3b208d82b50728c949015fa4e9723e3cefabd3b52209d3703e8a1110f044dca4409a28b5507f981
|
|
7
|
+
data.tar.gz: de596d3e248b4ee7ef7f41376de13efa12330143351a8f9ba2cc949c822660717bf676298fd268e11e4656d2bd4231549e38e6c2ff30c416e0456ec0d1ca65bd
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.2.3] - 2018-03-15
|
|
8
|
+
### Fixed
|
|
9
|
+
- Srikethrough now works.
|
|
10
|
+
|
|
7
11
|
## [0.2.2] - 2017-09-27
|
|
8
12
|
### Added
|
|
9
13
|
- Ability to disable ToC if max_toc_level == 0.
|
data/lib/md2conf.rb
CHANGED
|
@@ -193,7 +193,14 @@ module Md2conf
|
|
|
193
193
|
markdown = markdown.lines.drop(1).join
|
|
194
194
|
end
|
|
195
195
|
|
|
196
|
-
|
|
196
|
+
redcarpet_options = {
|
|
197
|
+
tables: true,
|
|
198
|
+
fenced_code_blocks: true,
|
|
199
|
+
autolink: true,
|
|
200
|
+
strikethrough: true,
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
md = Redcarpet::Markdown.new(Redcarpet::Render::XHTML.new, redcarpet_options)
|
|
197
204
|
html = md.render(markdown)
|
|
198
205
|
confluence = ConfluenceUtil.new(html, max_toc_level, config_file)
|
|
199
206
|
confluence.parse
|
data/lib/md2conf/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: md2conf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eugene Piven
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2018-04-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
112
112
|
version: '0'
|
|
113
113
|
requirements: []
|
|
114
114
|
rubyforge_project:
|
|
115
|
-
rubygems_version: 2.6.
|
|
115
|
+
rubygems_version: 2.6.13
|
|
116
116
|
signing_key:
|
|
117
117
|
specification_version: 4
|
|
118
118
|
summary: Convert Markdown to Confluence XHTML storage format
|