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
I have a markdown File with frontMatter, so I use the frontmatterextension to get the source witthout frontmatter.
But then the line numbers in the nodes no longer match with the original source file.
In order to fix this, I should have access to the lineOffset which gives the first line of the source without frontmatter.
By this I could implement a proper reporting.
As of now I work around this. But it would be simpler if MarkdownInput had a getter for $lineOffset
maybe it would even be possible that the frontmatter is represented in the AST.
Description
I have a markdown File with frontMatter, so I use the frontmatterextension to get the source witthout frontmatter.
But then the line numbers in the nodes no longer match with the original source file.
In order to fix this, I should have access to the lineOffset which gives the first line of the source without frontmatter.
By this I could implement a proper reporting.
As of now I work around this. But it would be simpler if MarkdownInput had a getter for $lineOffset
maybe it would even be possible that the frontmatter is represented in the AST.
Example
would be
Did this project help you today? Did it make you happy in any way?
This project is great, has a clear architecture and no surprises. Thanks so much.
The text was updated successfully, but these errors were encountered: