Sha256: 4bc582c4ddacc562a1c6dad6e6582f78d4e9888dcf7fdd3d63c7907c7f800fdd
Contents?: true
Size: 387 Bytes
Versions: 25
Compression:
Stored size: 387 Bytes
Contents
module Lookbook module OutputHelper def markdown(text = nil, &block) Lookbook::Markdown.render(block ? capture(&block) : text) end def highlight(source, language, opts = {}) Lookbook::CodeFormatter.highlight(source, language, opts) end def beautify(source, language = "html") Lookbook::CodeFormatter.beautify(source, language) end end end
Version data entries
25 entries across 25 versions & 1 rubygems