Skip to content

publish to Confluence with params #9866

Open
@cderv

Description

@cderv

Discussed in #9830

Originally posted by hutch3232 May 31, 2024

Description

Firstly, I wanted to mention that I found this related discussion: #5310

In that discussion, it sounded like the recommended approach (until publish inherits from render) is to do a two-stage approach: first rendering the document with parameters supplied and then to publish using the --no-render option.

Unfortunately, when I tried to do that I get:
ERROR: Confluence requires rendering before publish

My code:

quarto render confl.qmd -P myvar:"test"
quarto publish confluence --no-render confl.qmd

Am I approaching this wrong? Is it possible to pass render-time parameters to a Confluence-bound .qmd?

quarto --version
1.4.550
Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions