Just opening this to track idea from https://github.com/quarto-dev/quarto-cli/discussions/2230

Maybe we could add a feature to add a `quarto.utils.input_files()` (or similar) to easily access the source `.qmd` from a Lua filter. 

Could be useful in certain case, and `PANDOC_STATE.input_files` can probably help for that. 

Let's see if some 👍 are added by users developing with Lua.
cscheid
2022-09-01T12:34:30Z
cderv
enhancement pandoc-lua
v1.3
closed
[FR] New Lua utility function to access qmd input filename
https://github.com/quarto-dev/quarto-cli/issues/2249