martile 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +5 -16
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4797b3a31fa2b1beab44d952feb4f0b3b74739f8
|
4
|
+
data.tar.gz: ac208315ae49bca5276bd43e09a0e44d8d6de4e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2c04a5c429645628b880fcfb20fca0599df93699c74b231f45bcbed70531250a5ee927923eb7e9c583506021aeca77f95efb297de594e07c7825f42f1e8639
|
7
|
+
data.tar.gz: bde57563c71a3b291c0082ccc6423de2388cbbba971b1bbe61b362e6784b4029e4080306dc40821a796e6a851869cd2d3b7da7fc6f0be4377c6003a87df68d22
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/martile.rb
CHANGED
@@ -13,6 +13,8 @@ require 'flowchartviz'
|
|
13
13
|
|
14
14
|
|
15
15
|
# feature: 8-Feb-2018 A section attribute id can now include a dash (-).
|
16
|
+
# Markdown inside a section element is no longer
|
17
|
+
# rendered by RDiscount
|
16
18
|
# minor improvement: 29-Sep-2017 A Markdownviz or Flowchartviz embedded
|
17
19
|
# document can now be declared without the word viz at the end.
|
18
20
|
# feature: 21-Sep-2017 A qrcode can now be rendered
|
@@ -44,19 +46,6 @@ require 'flowchartviz'
|
|
44
46
|
# +
|
45
47
|
# minor feature:
|
46
48
|
# 9-Feb-2017 implemented a shorthand (^) for the mark tag
|
47
|
-
# minor feature:
|
48
|
-
# 3-Feb-2017 a video smartlink can now include options e.g. loop: true
|
49
|
-
# bug fix: 29-Jan-2017 2 or more code listings should now be parsed correctly
|
50
|
-
# feature: 24-Jun-2016 links containing a right parenthesis at the
|
51
|
-
# end are no longer cropped
|
52
|
-
# bug fix: 11-Jun-2016 pre tags are now filtered out properly
|
53
|
-
# feature: 22-May-2016 Introduced the __DATA__ section which appears at
|
54
|
-
# the end of the document to reference 1 or more raw
|
55
|
-
# Dynarex documents
|
56
|
-
# improvement: 9-Mar-2016 Method dynarex_to_markdown now uses the !d[]()
|
57
|
-
# syntax instead of -[]
|
58
|
-
# bug fix: 29-Feb-2016 Arbitrary URLs will no longer automatically
|
59
|
-
# be hyperlinked
|
60
49
|
|
61
50
|
|
62
51
|
|
@@ -611,8 +600,8 @@ class Martile
|
|
611
600
|
|
612
601
|
r << ["%s%s</section>" %
|
613
602
|
[list[0], \
|
614
|
-
|
615
|
-
ignore_domainlabel: @ignore_domainlabel).to_html
|
603
|
+
Martile.new(list[1..-1].join, \
|
604
|
+
ignore_domainlabel: @ignore_domainlabel).to_html
|
616
605
|
]
|
617
606
|
]
|
618
607
|
r << []
|
@@ -620,7 +609,7 @@ class Martile
|
|
620
609
|
|
621
610
|
raw_id = match.captures.first
|
622
611
|
id = raw_id ? (" id='%s'" % raw_id) : ''
|
623
|
-
r << ["<section#{id}>"]
|
612
|
+
r << ["<section#{id} markdown='1'>"]
|
624
613
|
end
|
625
614
|
|
626
615
|
else
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|