pagehub-markdown 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pagehub-markdown/processors/toc_generator.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 478a609aac01d1802ed6ba5a87e3be8b0557e547
|
4
|
+
data.tar.gz: d0ec48d0a10ae0c09e137730fd17ccd93f979b44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 757bde84e9c73ddf110eadbc9bc2638a06a3ce66c50b51b5c76737a8b6cac14fdc5542fa171bc50b1b0ecd61e46732b901035aacdb509ff7b1dbb1270fb6f212
|
7
|
+
data.tar.gz: a0f0c11ebd6cf88d5a882ef62b2eb5d484bf9170b8a7e1874e60b6af89f925c75d635a8acf978f1b1af88f86493737c7b5da10d6bd9eebe430568617e4f8d9d3
|
@@ -13,7 +13,7 @@ module Markdown
|
|
13
13
|
# renders a table of content using nested <ol> list nodes
|
14
14
|
# from a given list of Heading objects produced by ToC::from_markdown()
|
15
15
|
def self.to_html(toc)
|
16
|
-
html = "<ol>"
|
16
|
+
html = "<ol class=\"table-of-contents\">"
|
17
17
|
toc.each { |heading| html << heading.to_html }
|
18
18
|
html << "</ol>"
|
19
19
|
html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagehub-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmad Amireh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.4.5.1
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: PageHub's extensions of GitHub's Redcarpet Markdown renderer.
|