Sha256: 2bc9b22e9ca92e8d093ea5aab48a0e0c0fabcf50cfe78e8ebfa1600de043013f
Contents?: true
Size: 616 Bytes
Versions: 11
Compression:
Stored size: 616 Bytes
Contents
module RevealCK module Markdown # This class embodies the preprocessing that starts with a # traditional Markdown document and turns it into something that # can later "become" reveal.js slides. class PreProcessor attr_reader :doc def initialize(doc) @doc = doc end def process strip_whitespace PreProcessorForEmoji.new(doc).process PreProcessorForDividers.new(doc).process PreProcessorTransforms.new(doc).process doc.lstrip end private def strip_whitespace doc.strip! end end end end
Version data entries
11 entries across 11 versions & 1 rubygems