-
DescriptionQuarto version: What I want to do:
What I tried:
set
|
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
Apr 3, 2025
Replies: 2 comments 4 replies
-
Accessibility: Could you make the title of your post readable (avoid code in it as it won't be read as such, and it makes search difficult)? Thank you. |
Beta Was this translation helpful? Give feedback.
1 reply
-
My goal is solved by using inline CSS and JS.
<style>
.tabset.card:has(.card) {
--bs-card-spacer-y: 0rem;
--bs-card-spacer-x: 0rem;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll(".tabset.card").forEach(tabset => {
if (tabset.querySelector(".card")) {
tabset.querySelectorAll(":scope > bslib-tooltip").forEach(tooltip => {
tooltip.remove();
});
}
});
});
</script> |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Glad you've found a way!
Few notes about your document:
It's not reproducible so nobody can use it.
It requires an heavy R dependency that most won't want to install.
Use the placeholder and lipsum shortcodes which are there precisely to avoid unnecessary dependencies: https://quarto.org/docs/authoring/shortcodes.html
self-contained
is a more than 2-years old outdated option that is not even documented or auto-completed now. You should useembed-resources
.You should add empty lines around headings, code cells, and list.
You should not mix knitr code cell option syntax, i.e., you are using R inline and YAML syntax. Quarto uses and recommends YAML (nothing but the language betw…