rmarkdown
rmarkdown copied to clipboard
[FR] github_document Dark HTML Preview
I use GitHub on my web browser in dark mode. The default HTML preview is white background and black text, but I would like for a dark theme that matches GitHub's dark theme so the preview will be more accurate. Like this:
output:
github_document:
theme: dark
Thanks for the feature request!
We'll consider this in a next release. If anyone wants to help, please submit a PR.
Currently, as a workaround you would need to use html_document()
with a dark theme and probably tweak some CSS.