Skip to content
Discussion options

You must be logged in to vote

A few items for this purpose have been added in Quarto Lua api in version 1.2

- New `quarto.project.profile` which provides the list of currently active profiles (or an empty table if none are active)
- New `quarto.project.directory` which provides the current project directory (if a project is active)
- New `quarto.project.output_directory` which provides the current project output directory (if a project is active)
- New `quarto.project.offset` which provides an offset from the current input document to the project directory.
- New `quarto.doc.input_file` which provides the path to the input docum…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Comment options

You must be logged in to vote
5 replies
@andrewpbray
Comment options

@andrewpbray
Comment options

@jimjam-slam
Comment options

@andrewpbray
Comment options

@cderv
Comment options

Answer selected by andrewpbray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
extensions relates to Quarto extensions mechanism lua Issues related to the lua codebase, filter chain, etc
4 participants