rsyntaxtree
rsyntaxtree copied to clipboard
integrating rsyntaxtree with pandoc
I would like to integrate rsyntaxtree with pandoc, ideally as a pandoc-filter. Then it would be possible to write bracketed code in a markdown document and have syntactic trees inserted in your paper.
See for example my pandoc-filter for linguistic examples (written in Lua): https://github.com/cysouw/pandoc-ling
I have no idea how best to include ruby code as a pandoc-filter though: https://pandoc.org/filters.html
Would you be interested to support should a use-case?
I'm sorry that I could not respond to you sooner. Integrating rsyntaxtree with pandoc is an exciting idea. And your [pandoc-ling] project (https://github.com/cysouw/pandoc-ling) is fantastic! It may take a while, but I'll take a close look at it and consider if the integration is possible. Thank you for your suggestion!