-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Milestone
Description
You may need gfm_quirks and possibly hard_wrap.
Oddly enough, there isn't a lot of google help on how to do that. (other than read and grok the entire kramdown source code). I don't want to be a kramdown internals guru! This doesn't work:
render_doc = Kramdown::Document.new(File.read(File.join(dir, file)),
{ :syntax_highlighter => "rouge",
:syntax_highlighter_opts => { css_class: false, line_numbers: false, inline_theme: "github" },
cfg: cfg, chapter: sect_nm, input: cfg['input_format'],
hardwrap: true, paragraph_end: false
}Metadata
Metadata
Assignees
Labels
No labels