Closed hturner closed 1 year ago
This is best handled by distill
I made an answer in https://github.com/Abhi-1U/texor/issues/60#issuecomment-1738814673
In short:
<p>
is added in HTML because of the Loose list syntax by Pandoc (see pandoc.org/MANUAL.html#bullet-lists)When rendered to rjtools::rjournal_web_article both sets of bullet points have a blank line between each bullet point.
I don't know why you get this. I'll comment on rstudio/distill#496 as for distill I don't think this is the case
Following on from https://github.com/Abhi-1U/texor/issues/60, cc @ajrgodfrey.
Consider the following .Rmd
When rendered to
html_document
the "bad" bullets have a blank line between each bullet point, which is read as "empty line" by screen readers.When rendered to
rjtools::rjournal_web_article
both sets of bullet points have a blank line between each bullet point.It would be good if the rjtools style did not introduce blank lines in the first case (and authors were encouraged to use this form). The blank lines appear to be due to
<p>
tags nested within<li>
tags.