# Functions
IsDangerousURL returns true if the given url seems a potentially dangerous url, otherwise false.
NewConfig returns a new Config with defaults.
NewRenderer returns a new Renderer with given options.
NewWriter returns a new Writer.
RenderAttributes renders given node's attributes.
WithEastAsianLineBreaks is a functional option that indicates whether softline breaks between east asian wide characters should be ignored.
WithEscapedSpace is a WriterOption indicates that a '\' escaped half-space(0x20) should not be rendered.
WithHardWraps is a functional option that indicates whether softline breaks should be rendered as '<br>'.
WithUnsafe is a functional option that renders dangerous contents (raw htmls and potentially dangerous links) as it is.
WithWriter is a functional option that allow you to set the given writer to the renderer.
WithXHTML is a functional option indicates that nodes should be rendered in xhtml instead of HTML5.
# Constants
EastAsianLineBreaksCSS3Draft follows CSS text level3 "Segment Break Transformation Rules" with some enhancements.
EastAsianLineBreaksNone renders line breaks as it is.
EastAsianLineBreaksSimple follows east_asian_line_breaks in Pandoc.
# Variables
BlockquoteAttributeFilter defines attribute names which blockquote elements can have.
CodeAttributeFilter defines attribute names which code elements can have.
DefaultWriter is a default instance of the Writer.
EmphasisAttributeFilter defines attribute names which emphasis elements can have.
GlobalAttributeFilter defines attribute names which any elements can have.
HeadingAttributeFilter defines attribute names which heading elements can have.
ImageAttributeFilter defines attribute names which image elements can have.
LinkAttributeFilter defines attribute names which link elements can have.
ListAttributeFilter defines attribute names which list elements can have.
ListItemAttributeFilter defines attribute names which list item elements can have.
ParagraphAttributeFilter defines attribute names which paragraph elements can have.
ThematicAttributeFilter defines attribute names which hr elements can have.
# Structs
A Config struct has configurations for the HTML based renderers.
A Renderer struct is an implementation of renderer.NodeRenderer that renders nodes as (X)HTML.
A WriterConfig struct has configurations for the HTML based writers.
# Type aliases
A EastAsianLineBreaks is a style of east asian line breaks.
A WriterOption interface sets options for HTML based writers.