mdless 2.1.37 → 2.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mdless/console.rb +2 -0
- data/lib/mdless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b666b2fcb580a8298ed456f0a8079e5141e34b7df81e8da1ea390ea4509c4a8
|
4
|
+
data.tar.gz: 0aafd923d3edf8eca00b221db676a151e9c915c7307e28515ee114a102c9296f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25c151df130e242e6f02a715e9abad99d5a592969535ce10bf700753d2b89e8ac07b9976c64a1d685141dea918a502278369e096ec3a3521ecabe0e2d557d078
|
7
|
+
data.tar.gz: e638bf345d55208a539e743f28b2a3b9704c6a7dd3e3f5a9d2064099ca56da739b1a46e79737c44adc70d3d68c5491fd886a1116d9ff6c8cf405a546258a64e1
|
data/lib/mdless/console.rb
CHANGED
@@ -806,6 +806,8 @@ module Redcarpet
|
|
806
806
|
end
|
807
807
|
|
808
808
|
def mmd_transclude(input)
|
809
|
+
return input unless MDLess.file || MDLess.meta.key?('transcludebase')
|
810
|
+
|
809
811
|
input.gsub(/^{{(.*?)}}/) do |m|
|
810
812
|
filename = Regexp.last_match(1).strip
|
811
813
|
file = if MDLess.meta.key?('transcludebase')
|
data/lib/mdless/version.rb
CHANGED