Class: Glib::FormatHelper::CustomRenderer

Inherits:
Redcarpet::Render::XHTML
  • Object
show all
Defined in:
app/helpers/glib/format_helper.rb

Instance Method Summary collapse

Instance Method Details

#block_quote(quote) ⇒ Object



10
11
12
# File 'app/helpers/glib/format_helper.rb', line 10

def block_quote(quote)
  "<blockquote>#{quote}</blockquote>"
end

#strikethrough(text) ⇒ Object



6
7
8
# File 'app/helpers/glib/format_helper.rb', line 6

def strikethrough(text)
  "<s>#{text}</s>"
end