Class: GovukMarkdown::Renderer
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- GovukMarkdown::Renderer
- Includes:
- Mixin, Redcarpet::Render::SmartyPants
- Defined in:
- lib/govuk_markdown/renderer.rb
Defined Under Namespace
Modules: Mixin
Instance Method Summary collapse
-
#initialize(govuk_options, options = {}) ⇒ Renderer
constructor
A new instance of Renderer.
Methods included from Mixin
#header, #hrule, #list, #paragraph, #preprocess, #table, #table_cell, #table_row
Constructor Details
#initialize(govuk_options, options = {}) ⇒ Renderer
Returns a new instance of Renderer.
8 9 10 11 12 13 |
# File 'lib/govuk_markdown/renderer.rb', line 8 def initialize(, = {}) @headings_start_with = [:headings_start_with] @strip_front_matter = [:strip_front_matter] super end |