quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
280 stars 19 forks source link

Add option to select render profile #459

Open coatless opened 3 weeks ago

coatless commented 3 weeks ago

In the Quarto project profiles documentation, when we have two environment files named _quarto-advanced.yml and _quarto-production.yml, we gain the capability to render a document under either a single profile or multiple profiles using the following commands:

# Render a single profile via command line
quarto render --profile advanced
quarto render --profile production

# Render with multiple profiles via command line
quarto render --profile advanced,production

However, only the default set in _quarto.yml is being used.

Would it be possible to add a way to specify or select the Quarto profile to build from when using the click-to-render button in VS Code?