When I try to add a horizontal line to my book using markdown, the build process fails.
Below is the code for a horizontal line in Markdown:
---
on a line by itself.
Here is the error I get:
! Missing number, treated as zero.
<to be read again>
\protect
l.145 ...nter}\rule{0.5\linewidth}{\linethickness}
\end{center}
Error: Failed to compile bookdown-demo.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See bookdown-demo.log for more info.
Execution halted
Exited with status 1.
It appears that this is a bug in Pandoc, fixed in 2.8. Does anybody know if Pandoc will be updated in Rstudio/bookdown any time soon, or should I figure out how to install and use a different version of Pandoc locally?