I was gonna post this on gitissue, but little text blob suggested I try here first.
I've created github repo that documents everything here
Basically when I boodown::render('.', 'bookdown::gitbook') sometime, some of the code falls output the "main section" (I'm referring to the <section> html tag. Or a blob of text will be missing appropriate html tags. It's a bit hard to explain, hence why I made a repo.
version 0.7 will render the example book ok, but my actual book is still a bit buggy, whereas 0.11 breaks example code completely.
If somebody can take a look at the example code in the repo and try to reproduce the error and let me know if I'm doing something wrong..
@cderv thanks for checking. I can confirm that rolling down to pandoc version 2.6 fixes the test example, which makes me think that there is a problem with pandoc 2.7.3. However my actual document still renders a bit funny, basically one of the html tags missing <pre><code> for some random reason. I can't rule out a typo, but had several people looking over the source..
pandoc 2.6
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2, skylighting 0.7.5
Default user data directory: /home/kirill/.pandoc
Copyright (C) 2006-2019 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
I tested with last RStudio preview version that is bundled with 2.7.2 and it is working fine.
Something must have changed in last pandoc version 2.7.3 https://pandoc.org/releases.html
Did not have time to look into it yet. I'll try later.