Closed chiphogg closed 5 years ago
Hello @chiphogg thanks for using posterdown!
I think this may be a pandoc issue indeed. Could you try updating to pandoc >= 2.2.3 as mentioned in the readme install and let me know if that helps?
Cheers
Just to say I recently installed RStudio 1.2 and it includes pandoc 2.3.1.
@remlapmot are you having the same issue or are you not experiencing this and just suggesting an rstudio download? I am not able to reproduce the issue when pandoc is >=2.2.3 installed myself so I am curious if other are. Thanks
My PhD student had the old RStudio (version 1.0 or 0.99 something) and he had the colour problem. When he updated to RStudio 1.2 the problem went away (presumably because of the later version of pandoc bundled with it).
Just to add, I have tried knitting a poster using some previous versions of pandoc, which are available here https://github.com/jgm/pandoc/tags .
So I think you that you could say that you need pandoc >= 2.0 for this to be fixed.
Thanks; that makes sense.
In my case, installing a new version of pandoc was tremendously difficult. (I had done this before a bunch of times over the past 5+ years or so, but something on Ubuntu 18.04 seems to make it extra challenging to compile from cabal---I observed this on both my home and work machines. The specific error had something to do with dependency resolution.)
FWIW, I was able to work around this even with the old version of pandoc, by escaping the #
character in the colour specifications. I'm away from my work computer, but it was something to the effect of color: \#ffffff
.
Thank you @brentthorne for this package and thatnk you @chiphogg and @remlapmot for your discussion here. It helped me solve an issue that I was having with the colors option. Thank you again!
I am following the
README
instructions based on aninstall_github()
version ofposterdown
(andrmarkdown
). The background is pure white, which makes the text unreadable.Peeking at HTML source, I see a lot of things that look like this:
So, I manually edited the HTML file, like so:
When I reload the page, everything looks like the demo.
Maybe something in the chain from
.Rmd
to.html
is treating the colour codes like markdown headers?This might be useful information: