iex(1)> EarmarkParser.as_ast "`a | b`\n`c | d`."
{:ok,
[
{"table", [],
[
{"tbody", [],
[
{"tr", [],
[
{"td", [{"style", "text-align: left;"}], ["`a"], %{}},
{"td", [{"style", "text-align: left;"}], ["b`"], %{}}
], %{}},
{"tr", [],
[
{"td", [{"style", "text-align: left;"}], ["`c"], %{}},
{"td", [{"style", "text-align: left;"}], ["d`."], %{}}
], %{}}
], %{}}
], %{}}
], []}
According to the spec a table must have a delimeter row in order to be a table, but I guess this is hard to change due to backwards compatability. Not sure what can be done about this as it seems similar to #147. Posting it here so that we are aware of it.
According to the spec a table must have a delimeter row in order to be a table, but I guess this is hard to change due to backwards compatability. Not sure what can be done about this as it seems similar to #147. Posting it here so that we are aware of it.