Documentation
¶
Overview ¶
Package render provides a pipeline for rendering parsed Asciidoc back into text Asciidoc
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttributeFilter ¶
type AttributeFilter uint32
const ( AttributeFilterNone AttributeFilter = 0 AttributeFilterAll AttributeFilter = math.MaxUint32 )
const ( AttributeFilterID AttributeFilter = 1 << iota AttributeFilterTitle AttributeFilterStyle AttributeFilterCols AttributeFilterText AttributeFilterAlt AttributeFilterHeight AttributeFilterWidth AttributeFilterPDFWidth AttributeFilterRole AttributeFilterAlign AttributeFilterFloat )
type RenderOptions ¶
type RenderOptions struct {
WrapLength int `name:"wrap" default:"0" help:"the maximum length of a line" group:"Output:"`
}
func (RenderOptions) ToOptions ¶
func (ro RenderOptions) ToOptions() []Option
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
Click to show internal directories.
Click to hide internal directories.