Skip to content
Discussion options

You must be logged in to vote

I see. thanks

There are some metadata you won't be able to modify from a Lua filter. You would need to pass them differently - like using shared metadata file or passing metadata at command line rendering.

For this specific date usage, won't the date of included the same as the rendering as you schedule your document ?
special cases today, now or last-modified does not help ?

Unfortunately, I am thinking only of workarounds this limitation, not real solution. Another one that comes to mind is a pre-render script that modify the date in the YAML of the document.

Though I wonder if variables could be used with the date fields (https://quarto.org/docs/authoring/variables.html#var) - they are…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@andrewpbray
Comment options

@cderv
Comment options

Answer selected by andrewpbray
@andrewpbray
Comment options

@andrewpbray
Comment options

@cderv
Comment options

@cscheid
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensions relates to Quarto extensions mechanism lua Issues related to the lua codebase, filter chain, etc
3 participants