class Pakyow::Markdown::Renderer
Public Instance Methods
block_quote(quote)
click to toggle source
Calls superclass method
# File lib/pakyow/markdown/renderer.rb, line 13 def block_quote(quote) if match = quote.match(/<p>\[(.*)\]/) %(<blockquote class="#{match[1]}">#{quote.gsub("[#{match[1]}]", "")}</blockquote>) else super end end