Replies: 2 comments
|
I found a way this will generate something like
7-11 are the offset on original md file. thanks |
0 replies
|
@moacirrf, yes that is the way to do it. The library was originally created to have tracking of source position through the AST and to rendered HTML and re-formatted markdown. This is also the reason why it is slower than other implementations and may have a bit more overhead. BTW, it is customary to set all options at the same time and just pass them where needed. Any options not used by a particular component will be ignored, in this case source position attribute of the HtmlReneder will be ignored by the parser. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
First all, thank you for the awesome job that was made on Flexmark-java.
There is a way to keep track of the converted data?
For example
# Titlewill generate
<h1>Title</h1>I would like to know if have some way to store the both data, because i need to ensure that
<h1> Title </h1>was generated from# Title.I'm working on a Netbeans Plugin and i would like to improve source and preview window.
Thanks
All reactions