WriteUpp API appointment reporting.md
At the command line:
cd "/Users/john/workspace/Obsidian/Psychotherapy Notes/170 Letter Templates"For current client
pandoc --lua-filter=expand_meta.lua --pdf-engine=xelatex -o "Statement of Hours.pdf" "Statement of Hours - Active Client.md"For former client
pandoc --lua-filter=expand_meta.lua --pdf-engine=xelatex -o "Statement of Hours.pdf" "Statement of Hours - Former Client.md"Date
If you want the letter to have today’s date, set the YAML date field to \\today.
You may wish to append the client’s name in the -o parameter
Example letter: Statement of Hours - Active Client.md
The expand_meta.lua is what allows pandoc to replace all the placeholders
Contents of expand_meta.lua as of Feb 2026
This is stored according to
Alternative location for filters
Alternative Place for Scripts (e.g. replacefields.lua)
~/.pandoc/filters
e.g.
/Users/john/.pandoc/filters/replacefields.luaRecent versions of Zettlr are storing lua filters in
Link to original cd '/Users/john/Library/Application Support/Zettlr/lua-filter'