Skip to content

Commit 4ca3d65

Browse files
committed
feat: Native shortcode to get Quarto CLI version
Fixes #11379
1 parent f6b86d1 commit 4ca3d65

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: Version
2+
author: Posit, PBC
3+
organization: quarto
4+
contributes:
5+
shortcodes:
6+
- version.lua
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
return {
2+
['version'] = function(args, kwargs, meta)
3+
return table.concat(quarto.version, '.')
4+
end
5+
}

0 commit comments

Comments
 (0)