tdiary-style-markdown 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bde33d5fb620172b6fd8386b37b76047faf97c38
4
- data.tar.gz: 6e760bfbf8c2987f76de68c70300de9035b4fcc3
3
+ metadata.gz: 2bab61514aa2d79021f5c4aee983ea1810af321e
4
+ data.tar.gz: 0fffb76baf10b7e22a9d0a73729c8cf578c75ff5
5
5
  SHA512:
6
- metadata.gz: 1bd4216cc683e1eba6adc93be2f7c4cdfb501999a37c1861de7646f21a0fcd622fbf9751267c0b04e79eff9ccfc48a92e9bd1bf233a6cc549e56e49d1a76e8ee
7
- data.tar.gz: b604de4ae06a7c7989c6a4873785973f3e49e0468c43b891d94ab842314acdd40e4ef4541893819690ab5366a89e6a4a0bec84fc68e61d747e2335f6a7a0fede
6
+ metadata.gz: 112d0e5b9e02747c1c95dbca5d244401a37066d961b692eabc484326d8ba2c10e82a59f2c1c88f6f573ab684fb2bd16a6f8c9104296ada8d736284524be53fe1
7
+ data.tar.gz: 188eccdbde931f708883365ea552cc66dd8c7f65e9ca3bbe2d69bd7c96c69280ef31dec53707f5aed411683ce7be33f9fd79015022605be171cfa9a0599e39f3
@@ -221,7 +221,7 @@ module TDiary
221
221
  end
222
222
 
223
223
  def footnote_ref(num)
224
- "<%=fn \"@@tdiary-style-markdown-footnote-#{num}@@\"%>"
224
+ "<%=fn %Q(@@tdiary-style-markdown-footnote-#{num}@@)%>"
225
225
  end
226
226
  end
227
227
  end
@@ -1,7 +1,7 @@
1
1
  module TDiary
2
2
  module Style
3
3
  module Markdown
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
@@ -504,10 +504,11 @@ NOTE: `{{.NetworkSettings.IPAddress}}` is golang template.
504
504
  # subTitle
505
505
 
506
506
  Ruby{{fn "Object Oriented language"}} is fun!
507
- HTML[^1] is a markup language[^2].
507
+ HTML[^1] is a markup language[^2][^3].
508
508
 
509
509
  [^1]: Hyper Text Markup Language
510
- [^2]: language
510
+ [^2]: [example](http://www.example.com)
511
+ [^3]: http://www.example.com
511
512
 
512
513
  EOF
513
514
  @diary.append(source)
@@ -517,12 +518,11 @@ HTML[^1] is a markup language[^2].
517
518
  <%=section_enter_proc( Time.at( 1041346800 ) )%>
518
519
  <h3><%= subtitle_proc( Time.at( 1041346800 ), "subTitle" ) %></h3>
519
520
  <p>Ruby<%=fn "Object Oriented language"%> is fun!
520
- HTML<%=fn "Hyper Text Markup Language"%> is a markup language<%=fn "language"%>.</p>
521
+ HTML<%=fn %Q(Hyper Text Markup Language)%> is a markup language<%=fn %Q(<a href="http://www.example.com">example</a>)%><%=fn %Q(<a href="http://www.example.com">http://www.example.com</a>)%>.</p>
521
522
  <%=section_leave_proc( Time.at( 1041346800 ) )%>
522
523
  </div>
523
524
  EOF
524
525
 
525
- puts @diary.to_html
526
526
  assert_equal(@html, @diary.to_html)
527
527
  end
528
528
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdiary-style-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Okimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2015-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet