HTML

class commonmark.render.html.HtmlRenderer(options={})[source]
out(s)[source]

Concatenate a string to the buffer possibly escaping the content.

Concrete renderer implementations should override this method.

@param str {String} The string to concatenate.

tag(name, attrs=None, selfclosing=None)[source]

Helper function to produce an HTML tag.