Post #3481896
2026-06-30 02:33 UTC
@rmflight@mastodon.social something like this is what I do (probably learned from @nrennie@fosstodon.org ) for assignment solutions:
`r if (params$hide_answers) "::: {.content-hidden}"`
(solution text goes here)
`r if (params$hide_answers) ":::"`
where if the hide_answers parameter is true, the solutions are hidden, and if it is false, they are displayed.
(This seems like your approach but kind of backwards somehow.)
Replies (0)
No replies.