-
My group would like to write tooling that works on Asciidoc files, and I haven't found a good process to parse Asciidoc and generate line number information. This is something that Vale does, but I've been reading the source code for a while and I haven't figured out how does it do it. Could you explain the trick? (edit: I figured out a hack to export an Asciidoctor AST by using Ruby and monkeypatching the library, but it's not ideail). |
Beta Was this translation helpful? Give feedback.
Answered by
jdkato
Feb 6, 2021
Replies: 1 comment 1 reply
-
Vale doesn't actually do any parsing of AsciiDoc; it operates entirely on HTML generated by Asciidoctor. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jdkato
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vale doesn't actually do any parsing of AsciiDoc; it operates entirely on HTML generated by Asciidoctor.