Extend slidebreak shortcode to all slide deck formats#106
Extend slidebreak shortcode to all slide deck formats#106
Conversation
Agent-Logs-Url: https://github.com/UCD-SERG/rpt/sessions/e64d46ce-3ade-4f78-ae2e-39953f2b8c92 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
|
@copilot is "powerpoint" an actual quarto format, or only "pptx"? Please check the quarto docs. Also, include beamer. |
… keep pptx Agent-Logs-Url: https://github.com/UCD-SERG/rpt/sessions/85d0a7b2-435d-48b4-96ab-7022a479b845 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
|
Agent-Logs-Url: https://github.com/UCD-SERG/rpt/sessions/466274cc-56f5-444d-825c-20d0a64d4a23 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
| -- Insert slide break for all slide/presentation formats | ||
| -- The "slides" alias matches revealjs, pptx, beamer, and any future slide formats | ||
| -- See: https://quarto.org/docs/extensions/lua-api.html#format-detection | ||
| if format("slides") then |
There was a problem hiding this comment.
I don't see "slides" listed as an alias in https://quarto.org/docs/extensions/lua-api.html#format-detection; do you?
There was a problem hiding this comment.
You're right — "slides" is not listed as an alias in the Quarto Lua API docs. The official aliases are only latex, pdf, epub, html, html:js, and markdown. I've updated both lua files (commit 4bfb952) to use explicit checks: format("revealjs") or format("pptx") or format("beamer").
…of invalid slides alias Agent-Logs-Url: https://github.com/UCD-SERG/rpt/sessions/91b3f37d-4ef9-414c-b88f-36dc009e8ccd Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
The
slidebreakshortcode only handledrevealjsandpptxexplicitly, missingbeamer. Note:powerpointis not a valid Quarto format — the correct format name for PowerPoint output ispptx.Changes
slidebreak.lua(both_quarto/andaltdoc/copies): Add explicit checks for all three slide formats (revealjs,pptx,beamer); add link to the Quarto Lua API format detection docsREADME.md(both copies): Update behavior docs to reflect all slide formats including BeamerNEWS.md: Add changelog entryThe title of your PR should briefly describe the change.
Commit/merge messages to be included in NEWS.md should begin with
-.Code should follow the tidyverse style guide.
Documentation should use roxygen2, with Markdown syntax.
Contributions should include unit tests (using
testthat).For more information see Contributing.