Sha256: 3d19854be6341ee25b5e3e89f71d767b3c5006ff6d51235287da6ff8fa072b1b
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slippery-0.1.0 | lib/slippery/document.rb |
slippery-0.0.3 | lib/slippery/document.rb |