quarto-lua-env
lua-env is an extension for Quarto to provide access to LUA objects as metadata.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.8%) to scientific vocabulary
Keywords
Repository
lua-env is an extension for Quarto to provide access to LUA objects as metadata.
Basic Info
- Host: GitHub
- Owner: mcanouil
- License: mit
- Language: Lua
- Default Branch: main
- Homepage: https://m.canouil.dev/quarto-lua-env/
- Size: 44.9 KB
Statistics
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 4
Topics
Metadata Files
README.md
Lua Environment Extension For Quarto
lua-env is an extension for Quarto to provide access to LUA objects as metadata.
Installing
bash
quarto add mcanouil/quarto-lua-env
This will install the extension under the _extensions subdirectory.
If you're using version control, you will want to check in this directory.
Using
Add the following to your YAML header:
yaml
filters:
- lua-env
This will give you access to the quarto and several Pandoc LUA internal objects using any of the below shortcodes:
```markdown {{< lua-env quarto.doc.input_file >}}
{{< meta lua-env.quarto.doc.input_file >}} ```
LUA objects currently available as metadata:
yaml
lua-env:
quarto: "quarto"
pandoc:
PANDOC_STATE: "PANDOC_STATE"
FORMAT: "FORMAT"
PANDOC_READER_OPTIONS: "PANDOC_READER_OPTIONS"
PANDOC_WRITER_OPTIONS: "PANDOC_WRITER_OPTIONS"
PANDOC_VERSION: "PANDOC_VERSION"
PANDOC_API_VERSION: "PANDOC_API_VERSION"
PANDOC_SCRIPT_FILE: "PANDOC_SCRIPT_FILE"
See Pandoc LUA API - Global Variables for more information about Pandoc global variables.
Example
Here is the source code for a minimal example: example.qmd.
Owner
- Name: Mickaël Canouil
- Login: mcanouil
- Kind: user
- Location: Lille, France
- Website: https://mickael.canouil.fr
- Twitter: MickaelCanouil
- Repositories: 28
- Profile: https://github.com/mcanouil
Biostatistician, Ph. D. (& cinephile) @RLille User Group Organiser
Citation (CITATION.cff)
cff-version: 1.2.0
title: "Lua Environment Extension for Quarto"
message: "If you use this project, please cite it as below."
type: software
authors:
- family-names: "Canouil"
given-names: "Mickaël"
orcid: "https://orcid.org/0000-0002-3396-4549"
repository-code: "https://github.com/mcanouil/quarto-lua-env"
url: "http://m.canouil.dev/quarto-lua-env/"
license: "MIT"
date-released: "2025-04-05"
version: 1.0.3
GitHub Events
Total
- Release event: 1
- Delete event: 4
- Push event: 9
- Pull request event: 4
- Create event: 5
Last Year
- Release event: 1
- Delete event: 4
- Push event: 9
- Pull request event: 4
- Create event: 5
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 1
- Total pull requests: 5
- Average time to close issues: 26 days
- Average time to close pull requests: less than a minute
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 3
- Average time to close issues: 26 days
- Average time to close pull requests: less than a minute
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mcanouil (1)
Pull Request Authors
- mcanouil (8)
- github-actions[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
proxy.golang.org: github.com/mcanouil/quarto-lua-env
- Documentation: https://pkg.go.dev/github.com/mcanouil/quarto-lua-env#section-documentation
- License: mit
-
Latest release: v1.0.2
published over 1 year ago
Rankings
Dependencies
- actions/checkout v4 composite
- actions/configure-pages v5 composite
- actions/deploy-pages v4 composite
- actions/upload-pages-artifact v3 composite
- quarto-dev/quarto-actions/setup v2 composite