Open richardreeve opened 3 years ago
They don't disappear here either https://ibahcm.github.io/RPiR/lectures_html/RPiR2c-development.html
Why do you think they should? Is there any documentation I can reference? Presumably they're being interpreted as R comments..
Yes, the docs are here - https://bookdown.org/yihui/rmarkdown/ioslides-presentation.html#code-highlighting - the text within those pseudo-html blocks should just be in bold, but if they are just removed in the html that would be fine. Or maybe ### <b>
could just be replaced by <b>
in the html, and so on.
Yes, but this describes the ioslides_presentation output, not html_document output?
Yes, I know, but what I'm saying is that this text is supposed to formatting, but the html_document output doesn't know, and it would be nice to fix that if there's something we could do...
Ahh... got it 👍 That will require some fiddling around but I think it might be doable...
Code chunk formatting is a feature of ioslides, whereas the html is generated by rmarkdown::render(). Whatever fiddling I might have thought possible is now lost and likely overly ambitious.
Actually, if you set output: ioslides_presentation: keep_md: true
, then substitute out the ### <b>
lines before generating the html, that might work.
This fix broke html slide generation on the website.
In Lecture 5a - https://ibahcm.github.io/RPiR/lectures_html/RPiR5a-reporting.html - the emphasis code blocks:
and
appear in the html, when they should just disappear.