MichaelHatherly / CommonMark.jl

A CommonMark-compliant Markdown parser for Julia.
Other
84 stars 11 forks source link

try solve table-parsing problem #57

Closed Rratic closed 1 year ago

Rratic commented 1 year ago

Currently this pr cannot solve the issue ( https://github.com/MichaelHatherly/CommonMark.jl/issues/44 )

Hope that anyone willing can join the work.

Rratic commented 1 year ago

It's complicated, so I can provide little information

This is the current parsing result:

julia> CommonMark.debug_node(x)
Document
        Table
                TableHeader
                        TableRow
                                TableCell
                                        Text [ 标 ]
                                TableCell
                                        Text [ 题  ]
                                        Text [  们 ]
                                TableCell
                TableBody
                        TableRow
                                TableCell
                                        Text [ d ]
                                TableCell
                                        Text [ 文 字  ]
                                        Text [  g ]
                                TableCell
MichaelHatherly commented 1 year ago

@Rratic https://github.com/MichaelHatherly/CommonMark.jl/pull/63 likely fixed this issue, closing this now. If you still find it to be a problem in the latest release please do re-open the issue and we can take another look at it.