Skip to content
Discussion options

You must be logged in to vote

Thanks for the questions.

I moved you question to discussions which we prefer to use for such questions.

Multiple profiles with conflicting keys

Profiles are merged in order with the first-listed profile taking priority. The relevant code:

// merge all active profiles (reverse order so first gets priority)
for (const profileName of activeProfiles().reverse()) {
const profilePath = [".yml", ".yaml"].map((
ext,
) => join(dir, `_quarto-${profileName}${ext}`)).find(safeExistsSync);
if (profilePath) {
await mergeProfile(profilePath);
}
}

The merge semantics mirror the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ekatko1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Doc improvements & quarto-web
2 participants
Converted from issue

This discussion was converted from issue #14611 on June 23, 2026 11:06.