How to modify the font size in GitBook?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 08:14:52

问题


As the title says, there's a preference called "Edit Configuration" in the GitBook Editor, it says that you should use json to build a book.json.

How can I write this file to modify the font size? Having searched it on the web, I hardly found any useful articles.


回答1:


That depends on how you're planning to publish. From the "How to use it" section:

Here are the options that can be stored 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,

    }

    // ...
}


来源:https://stackoverflow.com/questions/24340812/how-to-modify-the-font-size-in-gitbook

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!