CanvasNative v1.1.0 CanvasNative.V0.HorizontalRuleType
A horizontal rule in a canvas native v0 document.
iex> HorizontalRuleType.match_native(“- - -“) %HorizontalRuleType{content: “- - -“, source: “- - -“,
type: "horizontal-rule"}
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
.