Closed digitalmoksha closed 5 months ago
It looks like the returned data-sourcepos for setext headings are off by one line.
data-sourcepos
header --- this
gives
<h2 data-sourcepos="1:1-3:4">header</h2> <p data-sourcepos="3:1-3:4">this</p>
I think it should be
<h2 data-sourcepos="1:1-2:3">header</h2> <p data-sourcepos="3:1-3:4">this</p>
I'll try to spin up a PR in a couple days.
Wrong indeed; thanks so much!
It looks like the returned
data-sourcepos
for setext headings are off by one line.gives
I think it should be
I'll try to spin up a PR in a couple days.