CanvasNative v1.0.3 CanvasNative.V0.NativeParser

A parser for v0 canvas native text.

iex> NativeParser.parse("Foo")
[%ParagraphType{content: "Foo", source: "Foo", type: "paragraph"}]

Summary

Functions

Parse a string of v0 canvas native text into a list of canvas native lines

Functions

parse(native)

Specs

parse(String.t) :: [map]

Parse a string of v0 canvas native text into a list of canvas native lines.