CanvasNative v1.0.3 CanvasNative.V0.HeadingType
A heading in a v0 canvas native document.
iex> HeadingType.match_native("## Heading")
%HeadingType{content: "Heading", source: "## Heading", type: "heading",
level: 2}
Summary
Functions
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
.