class Jekyll::Converters::Markdown::JdvpCodeTabsCommonMark
A Markdown
renderer which uses CodeTabsCustomerRenderer
to output the final document. The CodeTabsCustomerRenderer
renderer mainly uses the parent render but updates code blocks to allow for tabbing behavior
Public Instance Methods
convert(content)
click to toggle source
# File lib/jdvp-codetabs-commonmark.rb, line 136 def convert(content) doc = CommonMarker.render_doc(content, @parse_options, @extensions) html = CodeTabsCustomerRenderer.new( :options => @render_options, :extensions => @extensions ).render(doc) html.gsub(/<br data-jekyll-commonmark-ghpages>/, "\n") end