module Lookbook::OutputHelper

def beautify(source, **opts)

def beautify(source, **opts)
  Lookbook::CodeFormatter.beautify(source, **opts)
end

def highlight(source, **opts)

def highlight(source, **opts)
  Lookbook::CodeFormatter.highlight(source, **opts)
end

def markdown(text = nil, &block)

def markdown(text = nil, &block)
  Lookbook::Markdown.render(block ? capture(&block) : text)
end

def pretty_json(obj)

def pretty_json(obj)
  JSON.pretty_generate(obj)
end