Closed mdingemanse closed 1 year ago
For next time, good to know: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
You might enjoy this post once it's published: https://github.com/ropensci/roweb3/pull/531 :grin:
Looks like the
pandoc_convert()
step inwp_post()
wraps code by adding newline characters which upon import in WordPress become<br />
. Solution is to addwrap=none
to the pandoc option call:options = c("--mathjax","--wrap=none")