How to disable the font settings in Gitbook-themed bookdown sites?

When rendering a bookdown site using the gitbook theme, a font settings widget is added to the toolbar that allows the user to change the font settings of the site. The options here can be configured in the _output.yml file, like so:

bookdown::gitbook:
  config:
    fontsettings: 
      theme: 'white'
      family: 'sans'
      size: 2

I want to disable this widget entirely. I have tried adding an edit: no option, and have read through the Bookdown book. I have not found a way to entirely remove this feature using the config options in _output.yml.

The original plugin seems to be this, and a way is provided to disable the plugin in the original book.json.

Is there any way to disable the font settings feature in a Gitbook-themed Bookdown site using the YML options?

1 Like

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