Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/extensions/lua-api.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ The `dep` object passed to `quarto.doc.add_html_dependency()` has the following
| `version` | Version number (as a string). Required. |
| `scripts` | List of scripts to include (paths can be absolute or relative to the Lua file calling the function). Scripts can be either a simple path or a [script object](#script-object). |
| `stylesheets` | List of CSS style-sheets to include (paths can be absolute or relative to the Lua file calling the function). Stylesheets can either be a simple path or a [stylesheet object](#stylesheet-object) |
| `links` | List of link tags to add to the document. Each tag should be a table with `rel` and `ref` (required) and optionally `type` |
| `links` | List of link tags to add to the document. Each tag should be a table with `rel` and `href` (required) and optionally `type` |
| `resources` | Additional files to copy to the input directory (each resource is an object with `name` (target file name in input directory) and `path` (source file name relative to Lua script). |
| `serviceworkers` | JavaScript serviceworker files that should be copied to the root output directory (can be a simple string file name or table with \`path\` and \`name\` for renaming the file as its copied). |
| `meta` | Table of optional `key = value` meta tags to insert into the document `<head>` |
Expand Down Expand Up @@ -265,4 +265,4 @@ Quarto offers the following helper functions for shortcode developers, to be typ
| Function | Description |
|----------|-------------|
| `quarto.shortcode.read_arg(args, [n])` | Returns the `n`-th argument of the shortcode invocation |
| `quarto.shortcode.error_output(name, message_or_args, context)` | Creates output to be used by shortcodes to depict an execution error, consistently with how Quarto shows such outputs |
| `quarto.shortcode.error_output(name, message_or_args, context)` | Creates output to be used by shortcodes to depict an execution error, consistently with how Quarto shows such outputs |
Loading