In my YAML Header I try this for date:
date: "`!expr format(Sys.time(), '%B %d, %Y')`"
date-format: dddd, D MMM YYYY
lang: de
But if I render I receive an error message:
Invalid Date
Did I use !expr in the correct way?
I found the answer in the Quarto documentation:
date: today
will help in the specific language format.
But how can i use an inline code with a variable in a markdown text within a quarto file with VS Code?
Thank you very much.
Sebastian