CanvasNative v1.1.0 CanvasNative.V0.BlockquoteType
A blockquote line in a v0 canvas native document.
iex> source = wrap(type_name) <> "> Blockquote"
iex> BlockquoteType.match_native(source)
%BlockquoteType{content: "Blockquote",
source: wrap("blockquote-item") <> "> Blockquote",
type: type_name}
Summary
Functions
Format a line as a JSON object
Match a Markdown string and return a struct or nil
Match a native string against @native_pattern
, returning a struct or
nil
Name for this type
Types
Functions
Specs
match_markdown(String.t, CanvasNative.V0.MarkdownParser.context) ::
t |
nil
Match a Markdown string and return a struct or nil
.
Match a native string against @native_pattern
, returning a struct or
nil
.