You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Position tracking of headings is inconsistent #141
The following demonstration uses Haskell bindings for cmark (unfortunately, I don't know C so I'm unable to port the example to C; I assume the bindings are faithful and don't mess anything up).
Position info for a #-style header doesn't include the # (i.e. it starts from column 3 instead of column 1):
Activity
jgm commentedon Jul 7, 2016
+++ Artyom [Jul 07 16 14:38 ]:
You can do
to see what source positions the C library is assigning.
neongreen commentedon Jul 7, 2016
Thanks!
I built cmark (from Github) and fed it the following file:
It produced the following output (which exhibits the same behavior as my original Haskell demonstration):
[-]Position tracking of headers is inconsistent[/-][+]Position tracking of headings is inconsistent[/+]Fix table cannot be recoginsed without empty line (commonmark#154)
Fix mistaken sourcepos for atx headers.