I have an HTML template stored as a string variable, that is, echo $my_custom_html5_template
returns
<!DOCTYPE html>
etc.
Is it possible to pass this variable as a value of the --template
option?
That is, instead of using
pandoc input.md -s --template="my_custom_html5_template.html5" -o output.htm
I want to use something like
pandoc input.md -s --template=$my_custom_html5_template -o output.htm
Is it possible somehow?