You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book-example/src/format/config.md
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
You can configure the parameters for your book in the ***book.toml*** file.
4
4
5
-
**Note:** JSON configuration files were previously supported but have been deprecated in favor of
5
+
>**Note:**
6
+
JSON configuration files were previously supported but have been deprecated in favor of
6
7
the TOML configuration file. If you are still using JSON we strongly encourage you to migrate to
7
8
the TOML configuration because JSON support will be removed in the future.
8
9
@@ -63,12 +64,13 @@ source = "my-src" # the source files will be found in `root/my-src` instead of
63
64
The HTML renderer has a couple of options aswell. All the options for the renderer need to be specified under the TOML table `[output.html]`.
64
65
The following configuration options are available:
65
66
66
-
-**destination:** By default, the HTML book will be rendered in the `root/book` directory, but this option lets you specify another
67
+
-**`destination`:** By default, the HTML book will be rendered in the `root/book` directory, but this option lets you specify another
67
68
destination fodler.
68
-
-**theme:** mdBook comes with a default theme and all the resource files needed for it. But if this option is set, mdBook will selectively overwrite the theme files with the ones found in the specified folder.
69
-
-**curly-quotes:** Convert straight quotes to curly quotes, except for those that occur in code blocks and code spans. Defaults to `false`.
70
-
-**google-analytics:** If you use Google Analytics, this option lets you enable it by simply specifying your ID in the configuration file.
71
-
-**additional-css:** If you need to slightly change the appearance of your book without overwriting the whole style, you can specify a set of stylesheets that will be loaded after the default ones where you can surgically change the style.
69
+
-**`theme`:** mdBook comes with a default theme and all the resource files needed for it. But if this option is set, mdBook will selectively overwrite the theme files with the ones found in the specified folder.
70
+
-**`curly-quotes`:** Convert straight quotes to curly quotes, except for those that occur in code blocks and code spans. Defaults to `false`.
71
+
-**`google-analytics`:** If you use Google Analytics, this option lets you enable it by simply specifying your ID in the configuration file.
72
+
-**`additional-css`:** If you need to slightly change the appearance of your book without overwriting the whole style, you can specify a set of stylesheets that will be loaded after the default ones where you can surgically change the style.
73
+
-**`additional-js`:** If you need to add some behaviour to your book without removing the current behaviour, you can specify a set of javascript files that will be loaded alongside the default one.
0 commit comments