nakajima-makers-mark 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/makers-mark/generator.rb +1 -1
- metadata +3 -2
@@ -38,7 +38,7 @@ module MakersMark
|
|
38
38
|
logger.info "WRITING!"
|
39
39
|
t = BlueCloth.new(@markdown.dup).to_html
|
40
40
|
t.gsub!(/^(?:<p>)?@@@(?:<\/p>)?$/, '</div>')
|
41
|
-
t.gsub!(/^(?:<p>)?@@@\s*(\w+)(?:<\/p>)?$/, '<div class="code" rel="\1">')
|
41
|
+
t.gsub!(/^(?:<p>)?@@@\s*([\w\+]+)(?:<\/p>)?$/, '<div class="code" rel="\1">')
|
42
42
|
t
|
43
43
|
end
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nakajima-makers-mark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pat Nakajima
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- vendor/albino.rb
|
49
49
|
has_rdoc: false
|
50
50
|
homepage:
|
51
|
+
licenses:
|
51
52
|
post_install_message:
|
52
53
|
rdoc_options: []
|
53
54
|
|
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
69
|
requirements: []
|
69
70
|
|
70
71
|
rubyforge_project:
|
71
|
-
rubygems_version: 1.
|
72
|
+
rubygems_version: 1.3.5
|
72
73
|
signing_key:
|
73
74
|
specification_version: 2
|
74
75
|
summary: Generate syntax highlighted HTML using Markdown/Lighthouse conventions.
|