Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate 1.3 and 1.4 LUA/AST changes #1166

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Integrate 1.3 and 1.4 LUA/AST changes #1166

wants to merge 7 commits into from

Conversation

cwickham
Copy link
Collaborator

Mostly a moving of existing content in pre-release highlights into more permanent homes.

Closes quarto-dev/quarto-cli#7900
Closes quarto-dev/quarto-cli#8301

@@ -135,6 +168,8 @@ Extensions will sometimes want to add external dependencies (for example, a Java
| `quarto.doc.attach_to_dependency(name, attach)` | Attach a file to an existing dependency. `attach` is a file path relative to the Lua filter or table with \`path\` and \`name\` for renaming the file as its copied. |
| `quarto.doc.use_latex_package(pkg, opt)` | Adds a `\usepackage` statement to the LaTeX output (along an options string specified in `opt`) |
| `quarto.doc.add_format_resource(path)` | Add a format resource to the document. Format resources will be copied into the directory next to the rendered output. This is useful, for example, if your format references a `bst` or `cls` file which must be copied into the LaTeX output directory. |
| `quarto.doc.add_resource(path)` | Add a resource file to the current render, copying that file to the same relative location in the output directory. |
| `quarto.doc.add_supporting(path)` | Add a supporting file to the current render, moving that file file to the same relative location in the output directory. |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cscheid The descriptions here look identical. Is that right?

| `quarto.Callout(tbl)` | Callout: `tbl` is a table with entries `type`, `title`, and `content`. |
| `quarto.Tabset(tbl)` | Tabset: `tbl` is a table with entries `tabs`, `level` and `attr`. |
| `quarto.ConditionalBlock(tbl)` | Conditional block: `tbl` is a table with entries `node`, `behavior`, and `condition`. |
| `quarto.FloatRefTarget(tbl)` | Cross-referencable element: `tbl` is a table with entries `content`, `caption_long`, and `caption_short`. |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cscheid I deduced the parameter here from the codebase. Did I get it right?

Copy link
Contributor

🚀 Deployed on https://deploy-preview-1166.quarto.org

@github-actions github-actions bot temporarily deployed to pull request June 18, 2024 19:57 Inactive
@cwickham cwickham requested a review from cscheid June 18, 2024 20:01
@cwickham cwickham marked this pull request as ready for review June 18, 2024 20:45
@cwickham
Copy link
Collaborator Author

Now also closes quarto-dev/quarto-cli#4499

Copy link
Contributor

🚀 Deployed on https://deploy-preview-1166.quarto.org

@github-actions github-actions bot temporarily deployed to pull request June 25, 2024 20:00 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.4 Changelog Updates: Lua Filters Find homes for changes in 1.4 to LUA and AST
2 participants