Class: Kramdown::Merge::Backend::Language

Inherits:
TreeHaver::Base::Language
  • Object
show all
Defined in:
lib/kramdown/merge/backend.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = :markdown, options: {}) ⇒ Language

Returns a new instance of Language.



14
15
16
# File 'lib/kramdown/merge/backend.rb', line 14

def initialize(name = :markdown, options: {})
  super(name, backend: :kramdown, options: options)
end

Class Method Details

.markdown(options: {}) ⇒ Object



19
20
21
# File 'lib/kramdown/merge/backend.rb', line 19

def markdown(options: {})
  new(:markdown, options: options)
end