I know I can use yaml front matter within a markdown file in order to define variables to be used in pandoc templates to generate latex. However is it possible to define those variables in the body of a markdown file?

like $body$ would be the template tag for the markdown body, so if i could tag a list item in the markdown body to do: $for(body.listtag)$ something $endfor$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.