CanvasNative v1.0.3 CanvasNative.V0.LinkDefinitionType
A link definition in a v0 canvas native document.
iex> source = "[example]: https://example.com"
iex> match_native(source)
%LinkDefinitionType{source: "[example]: https://example.com",
content: "[example]: https://example.com",
label: "example", url: "https://example.com",
type: type_name}
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
.