dyndoc-ruby-exec 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dyndoc-converter.rb +8 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83a3581e6d53658a5a6494d2a7ab96d7b2c2d96
|
4
|
+
data.tar.gz: a012dcb1a202cbd9899563b6cf34ba04b3338a37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cfe02d3e1927a3cad2b1f4c9e34865b0e00f68ce05e9706f91888c5850577cacedbf58fe165335e41a632d3c79a7680c2cb52b5fd1ebb4613e9f49876880106
|
7
|
+
data.tar.gz: 84fe55b113ccd189315dff475a7c554d94c2d3f1bbde779673c1cd6aaa7bfff8dbf53470ab6c4d3903b6ad98cf1889d74c77b802f5316bbffb973ec93b6b16b6
|
data/lib/dyndoc-converter.rb
CHANGED
@@ -124,6 +124,8 @@ module Dyndoc
|
|
124
124
|
Asciidoctor.convert(code,:attributes => {"icons" => "font"})
|
125
125
|
end
|
126
126
|
|
127
|
+
@@markdown=nil
|
128
|
+
|
127
129
|
def Converter.redcarpet_engine
|
128
130
|
unless @@markdown
|
129
131
|
require 'redcarpet'
|
@@ -175,10 +177,12 @@ module Dyndoc
|
|
175
177
|
when "adoc>html"
|
176
178
|
Dyndoc::Converter.asciidoctor(code)
|
177
179
|
when "md>html"
|
178
|
-
##
|
179
|
-
tmp=Dyndoc::Converter.markdown(code)
|
180
|
-
Dyndoc.warn :res,[code,tmp]
|
181
|
-
tmp
|
180
|
+
## DEBUG MODE
|
181
|
+
##tmp=Dyndoc::Converter.markdown(code)
|
182
|
+
##Dyndoc.warn :res,[code,tmp]
|
183
|
+
##tmp
|
184
|
+
## Normal Mode
|
185
|
+
Dyndoc::Converter.markdown(code)
|
182
186
|
when "md>tex"
|
183
187
|
#puts "latex documentclass";p Dyndoc::Utils.dyndoc_globvar("_DOCUMENTCLASS_")
|
184
188
|
if Dyndoc::Utils.dyndoc_globvar("_DOCUMENTCLASS_")=="beamer"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dyndoc-ruby-exec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CQLS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Converters and software for dyndoc.
|