Skip to content

Expose project metadata to Lua filters #13029

@mcanouil

Description

@mcanouil

It would be useful to be able to access the project metadata (_quarto.yml) in Lua filters and shortcodes:

One use case was to retrieve site-url to modify the links in a multiformat document (PDF/Typst) to make the links target the HTML page rather than local file.
See:

Another use case comes from one of my extension ("GitHub" extension) which could benefits from the repo-url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmetadataIssues involving metadata resolution in quarto-cli cells, documents, and projects.projects

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions