-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
---@meta | ||
|
||
quarto.format.typst = {} | ||
_quarto.format.typst = {} | ||
|
||
--[[ | ||
Create a node that represents a typst function call. | ||
]] | ||
---@param name string Name of function | ||
---@param params table<string, any> Array of {param, value} pairs | ||
---@return pandoc.Div | ||
function quarto.format.typst.function_call(name, params) end | ||
function _quarto.format.typst.function_call(name, params) end | ||
|
||
--[[ | ||
Create a node that represents typst content (`[Hello, world]`). Use | ||
this to ensure your output isn't interpreted as typst computations. | ||
]] | ||
---@param b64str string Base64 encoded string | ||
---@param content any content | ||
---@return pandoc.Blocks | ||
function quarto.format.typst.as_typst_content(b64str) end | ||
function _quarto.format.typst.as_typst_content(content) end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters