class Asciidoctor::SyntaxHighlighter::HtmlPipelineAdapter
Public Instance Methods
format(node, lang, opts)
click to toggle source
# File lib/asciidoctor/syntax_highlighter/html_pipeline.rb, line 6 def format node, lang, opts %(<pre#{lang ? %[ lang="#{lang}"] : ''}><code>#{node.content}</code></pre>) end