mdopen 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mdopen/version.rb +1 -1
  3. data/lib/mdopen.rb +11 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b136a74a9a322c450767b4cd1a82fab1fd34fda
4
- data.tar.gz: 254b83ccb707df522746d65f3b15bc9bd90535e1
3
+ metadata.gz: 0e59eb873a884be0c8deb48888c4067aa3d9cfe6
4
+ data.tar.gz: f46cb2dbd470217c55248f7e4f4f05759ca19331
5
5
  SHA512:
6
- metadata.gz: e0a8c5771c6688be7f6d2b4627d6531e6f697b1d8164d0a43306b7af447f644f584aec3966ea753dd75c7372ea9b53e303e4bf7192001c4ebc7aec5a907618f0
7
- data.tar.gz: 2b8cc6cb156642f3023bd023f19dc3665e3027e9d34505693630fd84ee689e806cf9e7e97d58cfbd704ebd8c0980129337bdd7ba636f0c058e837269748906ea
6
+ metadata.gz: 41becfc2f69aa54d628fdda51e1ba9ec77e4ceb010f40b2d914fe4d2162a0bc226c29baa6b12e4a8f3b0891b90aadb03e073dee53f5ec81626c8e553b0dc36de
7
+ data.tar.gz: d4315ee964fc4d3e1f80b50245b245d6222dc81d2ae3efd719f57360cea537c10197d124b8228511879fb0344b2e1dc1d5f3bfbb775222fff1fead65ae883afd
@@ -1,3 +1,3 @@
1
1
  module Mdopen
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/mdopen.rb CHANGED
@@ -21,7 +21,17 @@ module Mdopen
21
21
  end
22
22
 
23
23
  def md2html(md_file)
24
- parser = Redcarpet::Markdown.new(Redcarpet::Render::HTML.new, fenced_code_blocks: true)
24
+ parser = Redcarpet::Markdown.new(
25
+ Redcarpet::Render::HTML.new,
26
+ fenced_code_blocks: true,
27
+ tables: true,
28
+ autolink: true,
29
+ space_after_headers: true,
30
+ highlight: true,
31
+ quote: true,
32
+ strikethrough: true,
33
+ superscript: true,
34
+ no_intra_emphasis: true)
25
35
  parser.render(md_file)
26
36
  end
27
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdopen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - B1nj0y
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-27 00:00:00.000000000 Z
11
+ date: 2018-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: os