Some CSS styles are not applied, e.g. those for tables #10496
-
DescriptionI'm struggling with getting some css classes to be rendered by quarto. In the docs, it seems like tables should be rendered with nice formatting such as lines separating rows: and that CSS classes could be applied: However, when I try those examples I get the following appearance where it seems like the styling has not been applied correctly: I noticed a few other things that did not rendered and some that did, here is a full source document with its output (1-3 not working as expected, while 4-5 does): ---
format: html
---
## 1
| Default | Left | Right | Center |
|---------|:-----|------:|:------:|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
: Demonstration of pipe table syntax
## 2
| fruit | price |
|--------|--------|
| apple | 2.05 |
| pear | 1.37 |
| orange | 3.09 |
: Fruit prices {.striped .hover}
## 3
::::: {#special .sidebar}
::: {.warning}
Here is a warning.
:::
More content.
:::::
## 4
:::{.callout-note}
Note that there are five types of callouts, including:
`note`, `tip`, `warning`, `caution`, and `important`.
:::
## 5
::: {.border}
This content can be styled with a border
:::
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Beta Was this translation helpful? Give feedback.
I tried it from a few different location, but same result. However, I just tried to downgrade from v1.5.55 to v1.4.550 and it seems to work. This was via
conda
, and I also tried installing the 1.6.4 pre-release system wide (no conda package for that one yet), and it also works. So I guess that either there was a regression for 1.5.55 or I have a global config linked to that specific version somehow (I tried in a fresh env and could reproduce the issue with 1.5.55). I'll use the global pre-release package for now, thanks for the help!