.content-visible
div dependent on params
?
#3116
Answered
by
nclJoshCowley
r-cheologist
asked this question in
Q&A
-
I'd like to do something like:
Is that feasible? |
Beta Was this translation helpful? Give feedback.
Answered by
nclJoshCowley
Nov 1, 2022
Replies: 2 comments 1 reply
-
Moving this to stackexcange.com. Don't seem to be able to delete here. Sorry about that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I currently use the following to hide out whole sections in my reports. `r if (params$show_private_info) "::: {.content-hidden}"`
Some private information
`r if (params$show_private_info) ":::"` But project profiles are probably a better solution I've yet to try. They give this example in the docs.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
r-cheologist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I currently use the following to hide out whole sections in my reports.
But project profiles are probably a better solution I've yet to try. They give this example in the docs.