-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown table issues #11
Labels
bug
Something isn't working
Comments
Hi @palkan ! Indeed, there is a problem with table parsing. {:type=>:root,
:location=>1,
:children=>
[{:type=>:header, :attr=>{"id"=>"some-table"}, :location=>1, :children=>[{:type=>:text, :value=>"Some table", :location=>1}]},
nil,
{:type=>:p, :location=>3, :children=>[{:type=>:text, :value=>"This is table:", :location=>3}]},
nil,
{:type=>:table,
:location=>5,
:children=>
[{:type=>:thead,
:location=>nil,
:children=>
[{:type=>:tr,
:location=>nil,
:children=>
[{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"Feature", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"One", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"Two", :location=>nil}]}]}]},
{:type=>:tbody,
:location=>nil,
:children=>
[{:type=>:tr,
:location=>nil,
:children=>
[{:type=>:td,
:location=>nil,
:children=>
[{:type=>:text, :value=>"Scalability doesn", :location=>nil},
{:type=>:smart_quote, :value=>:rsquo, :location=>1},
{:type=>:text, :value=>"t exist", :location=>1}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"yes", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"yes", :location=>nil}]}]},
{:type=>:tr,
:location=>nil,
:children=>
[{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"Flexibility rules", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"no", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"yes", :location=>nil}]}]},
{:type=>:tr,
:location=>nil,
:children=>
[{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"Something else", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"no", :location=>nil}]},
{:type=>:td, :location=>nil, :children=>[{:type=>:text, :value=>"yes", :location=>nil}]}]}]}]}]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the following
test.md
file:I have the following output:
P.S. Thanks for the project! 🙂
The text was updated successfully, but these errors were encountered: