Class: Kramdown::Parser::Base
- Inherits:
-
Object
- Object
- Kramdown::Parser::Base
- Defined in:
- lib/kramdown-asciidoc/kramdown_ext/parser/base.rb
Class Method Summary collapse
-
.parse(source, options) ⇒ Array<Kramdown::Element, Array>
Overload the parse method to force value of the :auto_ids option to false.
Class Method Details
.parse(source, options) ⇒ Array<Kramdown::Element, Array>
Overload the parse method to force value of the :auto_ids option to false.
The :auto_ids logic is handled instead by the Kramdown::AsciiDoc::Converter class
12 13 14 15 |
# File 'lib/kramdown-asciidoc/kramdown_ext/parser/base.rb', line 12 def self.parse source, (parser = new source, (.merge auto_ids: false, auto_id_stripping: false)).parse [parser.root, parser.warnings] end |