FlameWerx

Results 2 comments of FlameWerx

EXTENSIONS = [:strikethrough] PARSE_OPTIONS = [:DEFAULT, :STRIKETHROUGH_DOUBLE_TILDE] RENDER_OPTIONS = [:DEFAULT, :HARDBREAKS] doc = CommonMarker.render_doc(text, PARSE_OPTIONS, EXTENSIONS) renderer = new CommonMarker::HtmlRenderer(options: RENDER_OPTIONS, extensions: EXTENSIONS) renderer.render(doc)

@kivikakk @gjtorikian > > I don't really want to anticipate any kind of input issues--I think users of the library should make sure they're not feeding garbage into the renderer....