Sha256: 6ce31ddf88d8d399745326dfe77cd7bbce7a35f6d1c550736587071c4b4e6f99
Contents?: true
Size: 613 Bytes
Versions: 7
Compression:
Stored size: 613 Bytes
Contents
require 'rabbit/parser/ext/enscript' module Rabbit module Parser class RD module Ext module Enscript include GetText def enscript_block(label, lang, source, content, visitor) src, prop = parse_source(source) logger = visitor.logger result = nil if Parser::Ext::Enscript.check_availability(lang, logger) result = Parser::Ext::Enscript.highlight(lang, src, logger) end result || default_ext_block_verbatim(label, src, src, visitor) end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems