Skip to content

Commit 1bc3d31

Browse files
committed
shortcode extension template - use new params and link to docs
1 parent e67ce56 commit 1bc3d31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
return {
2-
['<%= filesafename %>'] = function(args, kwargs, meta)
2+
['<%= filesafename %>'] = function(args, kwargs, meta, raw_args, context)
3+
-- see https://quarto.org/docs/extensions/shortcodes.html
4+
-- for documentation on shortcode development
35
return pandoc.Str("Hello from ${title}!")
46
end
57
}

0 commit comments

Comments
 (0)