martile 0.8.2 → 0.8.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92dfbd9c24e7ba84c596d197df43d83329fe8ebc
4
- data.tar.gz: 01d2f8220762ff540471cacc1d0b52299e0aa287
3
+ metadata.gz: 4797b3a31fa2b1beab44d952feb4f0b3b74739f8
4
+ data.tar.gz: ac208315ae49bca5276bd43e09a0e44d8d6de4e8
5
5
  SHA512:
6
- metadata.gz: 33768f8f5adbe5a24a534c36818bb2cb61d754b69563b23003a83e4475c0a9fd93244e9c263707d3ab95f9ea9712bf1777c21703754e7ac635256ed3af7f8574
7
- data.tar.gz: 1b5ba8d2162a035c2cc6f5fcb95e9188aa57f3fabd2487d985a1cdeedc9789d77a9cb050b059cbb1feef03400fe043f294bbd8fc31e79b2e8ffecd5fd09b6487
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
- RDiscount.new(Martile.new(list[1..-1].join, \
615
- ignore_domainlabel: @ignore_domainlabel).to_html).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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: martile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file