quarto-lua-env

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

https://github.com/mcanouil/quarto-lua-env

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

metadata quarto quarto-extension quarto-filter quarto-pub quarto-shortcode quartopub
Last synced: 6 months ago · JSON representation ·

Repository

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

Basic Info
Statistics
  • Stars: 12
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 4
Topics
metadata quarto quarto-extension quarto-filter quarto-pub quarto-shortcode quartopub
Created about 3 years ago · Last pushed 9 months ago
Metadata Files
Readme Funding License Citation

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

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
Difficulty: [1] Novice (1) Priority: [1] Low (1) Type: CI/CD :robot: (1)
Pull Request Labels
Type: CI/CD :robot: (4) Type: Enhancement :bulb: (3) Type: Bug :bug: (2)

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
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.4%
Average: 6.7%
Dependent repos count: 6.9%
Last synced: 6 months ago

Dependencies

.github/workflows/deploy.yml actions
  • 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