In rendered gitbooks with bookdown, there is an option for dark mode. Is it possible to somehow make this selected by default?

image

2 Likes

You need to specify it in _output.yml for the Gitbook format:

bookdown::gitbook:
    fontsettings:
      theme: night

it is mentioned in this page:

3 Likes

Perfect! Thank you very much @cderv, sorry I missed that!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.