mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Inlines Span, Column, Line are empty #46
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vors on GitHub (Jul 24, 2016).
I noticed ASTs Span, Column, Line and was hoping to use the same for inlines. But they are empty.
Here is a repro, to show what I mean. The repro is in powershell, I hope it's not too much troubles to decrypt it.
Note that in the first case Column, Line and Span are all correctly populated, but for the Inline they are all 0.
@xoofx commented on GitHub (Jul 24, 2016):
They are not activated by default as exact inline spans are more costly to calculate but you can activate them using the pipeline extension
UsePreciseSourceLocation@vors commented on GitHub (Jul 24, 2016):
I see, thank you!