Conversation
docs/extensions/lua-api.qmd
Outdated
| | `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`. | |
There was a problem hiding this comment.
@cscheid I deduced the parameter here from the codebase. Did I get it right?
There was a problem hiding this comment.
I think it can take more and we do document more in quarto-ast.qmd
Example at: https://github.com/quarto-dev/quarto-cli/blob/7f84537a8dd84859ac7ff0578411e3e26eee249a/src/resources/filters/layout/html.lua#L74-L82
Maybe we can ask claude code to extract info from codebase ?
There was a problem hiding this comment.
I've improved this table with some help from Claude. I'm going to merge to prerelease because this PR has been dragging on too long. We can make fixes before it hits main if needed.
|
🚀 Deployed on https://deploy-preview-1166.quarto.org |
|
Now also closes quarto-dev/quarto-cli#4499 |
|
🚀 Deployed on https://deploy-preview-1166.quarto.org |
|
@cwickham As I was looking at adding some 1.3 highlight still hidden (https://quarto.org/docs/prerelease/1.3/pdf.html) I found this one still open. We should probably rework on this one. Those documentation are important to be in main website. |
|
@cderv Yes, happy to get this merged. Would you review it? |
cderv
left a comment
There was a problem hiding this comment.
Looks good.
I am thinking we could ask claude code to give us its thought on the coverage of custom node argument. It does not see straightforward to day to know all the possibly entry. This require some code scanning for Lua file.
docs/extensions/lua-api.qmd
Outdated
| | `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`. | |
There was a problem hiding this comment.
I think it can take more and we do document more in quarto-ast.qmd
Example at: https://github.com/quarto-dev/quarto-cli/blob/7f84537a8dd84859ac7ff0578411e3e26eee249a/src/resources/filters/layout/html.lua#L74-L82
Maybe we can ask claude code to extract info from codebase ?
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1166.quarto.org 🔄 Modified Documents |
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1166.quarto.org 🔄 Modified Documents |
|
Closing in favor of #1899 |
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