Open harrysw1729 opened 2 days ago
The issue appears to be that in a loose list, the content of a list item is put within a p
element. However, the current styling directly styles li:before
(here] in ul ul
, which leads to the line break when the p
tag is inserted.
A quick workaround is to style li::marker
rather than li::before
, where the content
and color
attributes will still work. However, other fields such as width
do not seem to work with ::marker
.
Currently, there is a line break between a nested list's marker and the item.
To illustrate the issue, install the extension to the project directory and consider the following
.qmd
document:For contrast, we create two Quarto profiles, one for the default revealjs, and the other for the clean theme.
If we render the document with the two profiles, we get the following output for the default theme:
In contrast, the clean theme has the following display:
For the clean theme, in the loose list, there is a line break between item 1.1 and its marker; the line break does not exist for the tihgt list. In contrast, for the default theme, there is no line break between item 1.1 and its marker for tight or loose lists.
Thank you very much for your help.