karottenreibe-qwicky 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.markdown +6 -0
- data/README.markdown +1 -1
- data/bin/qwicky +1 -9
- data/qwicky.gemspec +1 -1
- metadata +1 -1
data/HISTORY.markdown
CHANGED
data/README.markdown
CHANGED
@@ -71,7 +71,7 @@ But DON'T PANIC, it's easy:
|
|
71
71
|
gem install rdiscount
|
72
72
|
|
73
73
|
or any of the other nice Markdown libraries, e.g.
|
74
|
-
|
74
|
+
peg-markdown etc.
|
75
75
|
I wouldn't recommend BlueCloth, unless you really
|
76
76
|
think you need that, see [this Blog post] [1].
|
77
77
|
(As you might have already guessed from the layout
|
data/bin/qwicky
CHANGED
@@ -122,13 +122,6 @@ module Markup
|
|
122
122
|
rescue LoadError => boom
|
123
123
|
end
|
124
124
|
|
125
|
-
begin
|
126
|
-
require 'maruku'
|
127
|
-
Object.const_set(:Markdown, Maruku)
|
128
|
-
return
|
129
|
-
rescue LoadError => boom
|
130
|
-
end
|
131
|
-
|
132
125
|
begin
|
133
126
|
require 'bluecloth'
|
134
127
|
return
|
@@ -137,7 +130,6 @@ module Markup
|
|
137
130
|
puts "Please get one, like"
|
138
131
|
puts "* RDiscount"
|
139
132
|
puts "* peg-markdown"
|
140
|
-
puts "* Maruku"
|
141
133
|
puts "* BlueCloth"
|
142
134
|
puts "Reverting to simple text markup"
|
143
135
|
throw :revert
|
@@ -146,7 +138,7 @@ module Markup
|
|
146
138
|
end
|
147
139
|
|
148
140
|
def format text
|
149
|
-
Markdown.new(text).to_html
|
141
|
+
Markdown.new(text.gsub("\0foo\0", '')).to_html
|
150
142
|
end
|
151
143
|
end
|
152
144
|
|
data/qwicky.gemspec
CHANGED