How to change the font size in GitBook?

As the name says, there is a preference in the GitBook editor called “Configuration Editing”, it says that you should use json to build book.json.

How can I write this file to change the font size? While browsing it on the Internet, I barely found useful articles.

+4
source share
1 answer

It depends on how you plan to publish. From the "How to Use It" section :

Here are the options that can be saved in this file:

{
    // ...
    // Global configuration for plugins
    "pluginsConfig": {
        "fontSettings": {
            // ...
            "size": 1 to 4
        }
    },

    // ...
    // Options for PDF generation
    "pdf": {

        // ...
        // Font size for the file content
        "fontSize": 12,

    }

    // ...
}
+5
source

Source: https://habr.com/ru/post/1545468/


All Articles