Sha256: 260fcf4b7d4d48ad789fa07669bf71be89b0e9975e5423d7b8011773315ef930
Contents?: true
Size: 419 Bytes
Versions: 16
Compression:
Stored size: 419 Bytes
Contents
module Lookbook module OutputHelper def markdown(text = nil, &block) MarkdownRenderer.call(block ? capture(&block) : text, Lookbook.config.markdown_options) end def highlight(*args, **opts) CodeHighlighter.call(*args, **opts) end def beautify(*args, **opts) CodeBeautifier.call(*args, **opts) end def pretty_json(obj) JSON.pretty_generate(obj) end end end
Version data entries
16 entries across 16 versions & 1 rubygems