Open mvuorre opened 1 month ago
Hi @mvuorre what you think about directly defining svg in the template files? Laprepint is defining orcid in a file https://github.com/LaPreprint/typst/blob/c908cd05da8e13eb8add652a613d00add73d1f58/lapreprint.typ#L50
I think it would be sweet. I did not do this for two reasons:
If someone is using project yml they can delete those files as postprocessing, it will not work for files not included to the project
project:
title: "Quarto preprint"
render:
- index.qmd
output-dir: docs
post-render: rm orcid.svg psyarxiv.svg
execute:
cache: true
When you render to quarto-preprint, the .svg files get copied to the project root. That sucks and shouldn't happen.