markdown_helper 0.1.6 → 0.1.7
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/Gemfile.lock +1 -1
- data/lib/markdown_helper.rb +0 -32
- data/lib/markdown_helper/version.rb +1 -1
- 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: 2eca1431b4a6c1e6a9afc424be9772d747ac81a5
|
|
4
|
+
data.tar.gz: 39e06c13f4cf784946f2d012c229fd0e3c24aaaf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 809c80de9019b5b59e457070e8c91d30b4671427422b870f7755973e88074364314cfeea8d5a6225cc4852557089b3f681bcb6a11db3e6294f0cf8c0b44a3a53
|
|
7
|
+
data.tar.gz: a6f269cf8d9d9197462a3a6ef32987500ddf50833cf60cbadd297d9e4c8c180d9f3d9be618995a6b699c9e156b04b651dfcddaa3c83645cae974a4a6cf326a91
|
data/Gemfile.lock
CHANGED
data/lib/markdown_helper.rb
CHANGED
|
@@ -8,23 +8,6 @@ class MarkdownHelper
|
|
|
8
8
|
|
|
9
9
|
INCLUDE_REGEXP = /^@\[(:code_block|:verbatim|\w+)\]/
|
|
10
10
|
|
|
11
|
-
# For later.
|
|
12
|
-
# attr_accessor :tag_as_generated
|
|
13
|
-
|
|
14
|
-
# For later.
|
|
15
|
-
# DEFAULT_TREATMENT_FOR_FILE_EXT = {
|
|
16
|
-
# :md => :verbatim,
|
|
17
|
-
# :rb => 'ruby',
|
|
18
|
-
# :xml => 'xml',
|
|
19
|
-
# }
|
|
20
|
-
|
|
21
|
-
def initialize
|
|
22
|
-
# For later.
|
|
23
|
-
# @treatment_for_file_ext = DEFAULT_TREATMENT_FOR_FILE_EXT
|
|
24
|
-
# @treatment_for_file_ext.default = :code_block
|
|
25
|
-
# self.tag_as_generated = false
|
|
26
|
-
end
|
|
27
|
-
|
|
28
11
|
# Merges external files into markdown text.
|
|
29
12
|
# @param template_file_path [String] the path to the input template markdown file, usually containing include pragmas.
|
|
30
13
|
# @param markdown_file_path [String] the path to the output merged markdown file.
|
|
@@ -99,19 +82,4 @@ class MarkdownHelper
|
|
|
99
82
|
output
|
|
100
83
|
end
|
|
101
84
|
|
|
102
|
-
# For later.
|
|
103
|
-
# def get_treatment(file_type)
|
|
104
|
-
# @treatment_for_file_ext[file_type]
|
|
105
|
-
# end
|
|
106
|
-
#
|
|
107
|
-
# def set_treatment(file_type, treatment)
|
|
108
|
-
# treatment_symbols = [:verbatim, :code_block]
|
|
109
|
-
# if treatment_symbols.include?(treatment) || treatment.kind_of?(String)
|
|
110
|
-
# @treatment_for_file_ext[file_type] = treatment
|
|
111
|
-
# else
|
|
112
|
-
# message = "treatment must be a single word or must be in #{treatment_symbols.inspect}, not #{treatment.inspect}"
|
|
113
|
-
# raise ArgumentError.new(message)
|
|
114
|
-
# end
|
|
115
|
-
# end
|
|
116
|
-
|
|
117
85
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: markdown_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- burdettelamar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|