We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to do some advanced commonmark processing of my users' input and would like to have direct access to the sourcepos attribute on the node.
Right now, the only way I could make it work is to convert the node to html and parse the resulting html:
m = /<li data-sourcepos="(\d+):(\d+)-(\d+):(\d+)">)/.match node.to_html(:sourcepos)
is there a more direct way to do this?
The text was updated successfully, but these errors were encountered:
Oh my. I'll expose this.
Sorry, something went wrong.
Lovely! Thanks a lot!
sourcepos
👍
gjtorikian
No branches or pull requests
I'm trying to do some advanced commonmark processing of my users' input and would like to have direct access to the sourcepos attribute on the node.
Right now, the only way I could make it work is to convert the node to html and parse the resulting html:
is there a more direct way to do this?
The text was updated successfully, but these errors were encountered: