mdless 2.1.37 → 2.1.38
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: f4dcf4b7485bc928119a2a804b7414eaa6e00495e37bc6fbaafaf7d7258de6a7
|
4
|
+
data.tar.gz: 90e2f674a49c0fa5c89b695cb082c1323db3973e26b013bc8ad752819109d0d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffde9858c6647cdf1c2b7a157e07fb45045d91ef931b831a17fd18cc4571ec8971a0b49f8923223d9877461e1c3d65eb4d176516d080f88c12ad9e648d1f4912
|
7
|
+
data.tar.gz: 811fdb2a849587c391971a8ba9879a622701a7e21dfbbcdfbb9cf408cd7756531122df4f1e098b89df5c2977bc633d2164538f225fb31cabec48034d4659947a
|
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