Skip to content

Native shortcode to get Quarto CLI version #11379

@mcanouil

Description

@mcanouil

It’s currently possible to write the following shortcode to get the version

return {
  ['version'] = function(args, kwargs, meta)
    return table.concat(quarto.version, '.')
  end
}
---
title: "Quarto Playground"
format: html
shortcodes: 
  - version.lua
---

This is a playground for Quarto {{< version >}}.

Originally posted by @mcanouil in #11349 (reply in thread)

Metadata

Metadata

Labels

enhancementNew feature or requestshortcodesissues related to shortcodes

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions