-
DescriptionI'm trying to create an extension version-stamped document. Think of it similar to appending In R, we can grab the version of a package with: Version: '`r packageVersion("mypkg")`' Is there a way to access information for a given Quarto extension that is loaded in the document in a similar vein? e.g. Version: {{< qext version 'my-extension'>}} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
There is no built-in way. Since the structure of an extension is standardise, a simple Lua filter/shortcode that reads the YAML for each extensions the |
Beta Was this translation helpful? Give feedback.
-
I do wonder if we should expose this information in Lua. @coatless What's your use case here? I'm just trying to collect additional information. Thanks! |
Beta Was this translation helpful? Give feedback.
There is no built-in way.
Note that by default when you use extensions, those are installed from the default branch, so independently of the version/release.
Since the structure of an extension is standardise, a simple Lua filter/shortcode that reads the YAML for each extensions the
_extension
directory should do the job.