pandoc-mustache
pandoc-mustache copied to clipboard
Add support of Block and CodeBlock
Currently, the variable substitution is only made for text. This updates pandoc-mustache to also substitute variables in Block and CodeBlock.
Signed-off-by: Alexandre Bailon [email protected]
@anobli: This is a good idea! Thanks for submitting this PR.
Would you be up for adding two tests verifying that pandoc-mustache successfully substitutes variables in Block and CodeBlock environments? You could add them as one or two Python scripts in tests/, using the existing tests as examples.
Hi @michaelstepner ,
It seems that @anobli implemented the tests you've requested in https://github.com/michaelstepner/pandoc-mustache/pull/9/commits/72cd99db4466c68d5c438cd40e37dc33bb88a688
Is there anything preventing from merging this PR?
I would like to get rid of our internal fork we use at BayLibre.
We have been using both patches for quite some time already.