Skip to content

About

lua-env is an extension for Quarto to provide access to LUA objects as metadata.

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Repository files navigation

Lua Environment Extension For Quarto

lua-env is an extension for Quarto to provide access to Lua objects as metadata, and optionally to export them as JSON.

Installation

quarto add mcanouil/quarto-lua-env@2.1.0

This will install the extension under the _extensions subdirectory.

If you're using version control, you will want to check in this directory.

Turning it off

Set enabled: false under extensions.lua-env to switch the extension off. Do this in the front matter of one page, or in _quarto.yml for a whole project.

extensions:
  lua-env:
    enabled: false

A page with the switch off collects no Lua metadata and writes no JSON file. Each {{< lua-env >}} shortcode on that page prints nothing. The default is true.

Documentation

The full documentation lives at https://m.canouil.dev/quarto-lua-env/: every path the extension publishes, the JSON export and its filters, and values printed live from the render.

example.qmd is a short, standalone starting point you can copy.

Licence

MIT.

About

lua-env is an extension for Quarto to provide access to LUA objects as metadata.

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages