rsyntaxtree icon indicating copy to clipboard operation
rsyntaxtree copied to clipboard

integrating rsyntaxtree with pandoc

Open cysouw opened this issue 8 months ago • 1 comments

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?

cysouw avatar Dec 05 '23 20:12 cysouw

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!

yohasebe avatar Dec 21 '23 10:12 yohasebe