Turn on code folding site-wide, as in rme - #88
Conversation
rme folds code chunks by default in its html output, with a page-level
code-tools menu to show or hide all code at once, so readers see the
output first and open the code when they want it. This site had
code-tools on but code-fold off, so every chunk was shown expanded and
the menu's show/hide toggle had nothing to act on.
Set code-fold: true and add rme's code-summary ("Show R code") to the
html format. The revealjs format already matches rme.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YzWJF4E24Edb6RKXbkWaH
|
Caution Claude review did not run: the configured API credential is unusable. No review ran at all, so this PR has not been reviewed. This comment exists so that fact is visible from the PR itself rather than only from the run log (gha#543). The pre-flight check found that every configured API credential secret carries whitespace inside its value, so it cannot be sent as an HTTP This is a repository configuration defect rather than anything about the diff. Nothing about this PR needs to change, and re-running the workflow will fail identically until the secret is repaired. A repository admin fixes it under Settings -> Secrets and variables -> Actions by re-setting The Until an external verdict lands, this PR is not clean. The red |
|
Self-check of the diff: Generated by Claude Code |
|
Why
rme folds code chunks by default, with a page-level code-tools menu to show or hide all code, so readers see the output first and open the code when they want it. This site had
code-tools: truebutcode-fold: false, so every chunk rendered expanded.What
In
_quarto-website.yml,format: html::code-fold: false->code-fold: truecode-summary: "Show R code"code-toolsandcode-linkwere already on. Therevealjsformats in_quarto-website.ymland_quarto-revealjs.ymlalready match rme (code-fold: true,code-link: true,code-summary: "[R code]"), so they are unchanged. The handout profile only definespdf.🤖 Generated with Claude Code
https://claude.ai/code/session_014YzWJF4E24Edb6RKXbkWaH
Generated by Claude Code