Sha256: 214bdeb1a83a02359c6ae60f8d30b469c7912a43c7013bab4da4a3190dbf153f
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
module Slippery class Document include Hexp private_attr_accessor :processors def initialize(markdown) @markdown = markdown end def kramdown_document @kramdown_document ||= Kramdown::Document.new(@markdown, input: 'GFM') end def to_hexp @hexp ||= Slippery::Converter.new.convert(kramdown_document.root).to_hexp end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slippery-0.0.1 | lib/slippery/document.rb |