Sha256: 74a5ebd3a71c11bf8ed158690d7295ff3ca9b275842469550dee27b96f494b69
Contents?: true
Size: 276 Bytes
Versions: 28
Compression:
Stored size: 276 Bytes
Contents
# frozen_string_literal: true module Asciidoctor class SyntaxHighlighter::HtmlPipelineAdapter < SyntaxHighlighter::Base register_for 'html-pipeline' def format node, lang, opts %(<pre#{lang ? %[ lang="#{lang}"] : ''}><code>#{node.content}</code></pre>) end end end
Version data entries
28 entries across 28 versions & 2 rubygems