CanvasNative v1.1.0 API Reference
Modules
A format for encoding the content of a canvas
A blockquote line in a v0 canvas native document
Markers that delimit the “type” of some lines in a canvas native v0 canvas
A checklist item in a v0 canvas native document
A code line in a v0 canvas native document
Formats a list of CanvasNative structs into JSON
A heading in a v0 canvas native document
A horizontal rule in a canvas native v0 document
An image in a v0 canvas native document
Formats a list of CanvasNative lines into a JSON map
A link definition in a v0 canvas native document
A type representing an item in a list
A parser for Markdown text into canvas native structs
A parser for v0 canvas native text
An item in an ordered list in a v0 canvas native document
A paragraph of text in a v0 canvas native document
Parses a string into a list of maps representing parsed lines
The title of a v0 canvas native document
Describes a type of line in a canvas
An item in an ordered list in a v0 canvas native document
Constructs a struct from the given map, turning string keys into atoms where necessary