Can I change the authors with -M via command line ? #6260
Replies: 4 comments 6 replies
-
I am not sure you can as the Pinging @dragonstyle in case I am mistaken. |
Beta Was this translation helpful? Give feedback.
-
Minimal Working Example
|
Beta Was this translation helpful? Give feedback.
-
I changed the discussion to a feature request. |
Beta Was this translation helpful? Give feedback.
-
Have you considered making your file use an external file metadata ? This would be a hardcoded file name in your For a project with a dir like that
You could do a pre render script or any other one (like makefile) and do
This examples leverage the directory shared meta (https://quarto.org/docs/projects/quarto-projects.html#directory-metadata) but you could also leverage the ---
title: MWE
metadata-file: authors.yml
format: html
---
Foo You can then adapt It seems this works even if You can't do
because of #6123 see my previous comment #6260 (reply in thread) Definitely something we need to improve here |
Beta Was this translation helpful? Give feedback.
-
Description
I was wondering if you can change the author metadata like the title and subtitle metadata via the command line option
-M
.We are creating dynamic html reports with quarto but the authors should change depending on who has setup the analysis. So I was trying to set the author field dynamically with
-M author:"Kai Waldrant"
like I did with the title and subtitle-M title:"Test title" -M subtitle:"Test subtitle"
but only the titles changes not the author. Is there a way to do this ?I have been searching the discussion part but haven't found an answer.
Beta Was this translation helpful? Give feedback.
All reactions