CanvasNative v1.1.0 CanvasNative.V0.ParagraphType
A paragraph of text in a v0 canvas native document.
iex> ParagraphType.match_native("Foo")
%ParagraphType{content: "Foo", source: "Foo", type: "paragraph"}
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
.