class MCMarkdown::Formatter::Blocks::BlockFormatter

Public Instance Methods

callout(attributes={}) click to toggle source
# File lib/mc_markdown/formatters/blocks.rb, line 38
def callout attributes={}
  content = attributes[:content]
  "<div class=\"callout\">\n\n#{content}\n\n</div>"
end
notes(attributes={}) click to toggle source
# File lib/mc_markdown/formatters/blocks.rb, line 33
def notes attributes={}
  content = attributes[:content]
  "<div class=\"notes\">\n\n#{content}\n\n</div>"
end