Hi! I'm trying to implement something with a custom RenderNodeHook to extract some metadata (namely, links inside the document).
For this purpose, I'd need access to the line in the markdown file from which an ast.Node was built (maybe the character index from start of line too, but not a hard requirement).
I fail to find anything inside the ast package for this, is there a way?
Hi! I'm trying to implement something with a custom RenderNodeHook to extract some metadata (namely, links inside the document).
For this purpose, I'd need access to the line in the markdown file from which an ast.Node was built (maybe the character index from start of line too, but not a hard requirement).
I fail to find anything inside the ast package for this, is there a way?