Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindPassthroughBlock = ast.NewNodeKind("PassthroughBlock")
KindPassthroughBlock is a NodeKind of the PassthroughBlock node.
View Source
var KindPassthroughInline = ast.NewNodeKind("PassthroughInline")
KindPassthroughInline is a NodeKind of the PassthroughInline node.
View Source
var PassthroughInlineTransformer = &passthroughInlineTransformer{}
Functions ¶
Types ¶
type Config ¶ added in v0.2.0
type Config struct { InlineDelimiters []Delimiters BlockDelimiters []Delimiters }
Config configures this extension.
type Delimiters ¶
type PassthroughBlock ¶
A PassthroughBlock struct represents a fenced block of raw text to pass through unchanged. This is not parsed directly, but emitted by an ASTTransformer that splits a paragraph at the point of an inline passthrough with the matching block delimiters.
func (*PassthroughBlock) Dump ¶
func (n *PassthroughBlock) Dump(source []byte, level int)
Dump implements Node.Dump.
func (*PassthroughBlock) Kind ¶
func (n *PassthroughBlock) Kind() ast.NodeKind
Kind implements Node.Kind.
Click to show internal directories.
Click to hide internal directories.