md2conf 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fbab1393d0cc06d12233084f77b1888798d7128
4
- data.tar.gz: fcc3c2a937b5273462c56d734f16dace53fbe518
3
+ metadata.gz: 72a17ca53c014ad3c78ddb9bb41d030fb5b92c34
4
+ data.tar.gz: fc715188ab13b6341b1e3689e2c2eeec708fa108
5
5
  SHA512:
6
- metadata.gz: db786ca2cbd485afc60c08e2d8bcd4054d48ff0fba31df88ea2315578692a0abe4f68a1fb6842e948db09baa76022715350866a2a5aebbbe18c44257ebec17d4
7
- data.tar.gz: 97640d1c900aa716fe582fb7b6382193238de1459f2d701cfaa72f6ed50efc760acbc6bcfa728ea70229d3c2749937cd7b9a4f6d853f9a1b7303c9fd7e8ac7dc
6
+ metadata.gz: 9e09482e9c8db0a3200ec38001355fc091de0c8aa7d17e6ad3b208d82b50728c949015fa4e9723e3cefabd3b52209d3703e8a1110f044dca4409a28b5507f981
7
+ data.tar.gz: de596d3e248b4ee7ef7f41376de13efa12330143351a8f9ba2cc949c822660717bf676298fd268e11e4656d2bd4231549e38e6c2ff30c416e0456ec0d1ca65bd
@@ -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.
@@ -193,7 +193,14 @@ module Md2conf
193
193
  markdown = markdown.lines.drop(1).join
194
194
  end
195
195
 
196
- md = Redcarpet::Markdown.new(Redcarpet::Render::XHTML.new, tables: true, fenced_code_blocks: true, autolink: true)
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
@@ -1,3 +1,3 @@
1
1
  module Md2conf
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
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.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: 2017-09-27 00:00:00.000000000 Z
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.12
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