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: README.md
+19-3
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This plugin is inspired by [MkDocs PDF Export Plugin][mkdocs-pdf-export-plugin].
11
11
## Features
12
12
13
13
* Cover and Table of Contents integrated in the PDF
14
-
* Automatically numbers on heading(h1-h3).
14
+
* Automatically numbers on heading(h1-h6).
15
15
* Shift down sub-page headings level.
16
16
* using [WeasyPrint][weasyprint].
17
17
@@ -181,12 +181,12 @@ plugins:
181
181
182
182
* `toc_level`
183
183
184
-
Set the level of _Table of Content_. This value is enabled in the range of from `1` to `3`.
184
+
Set the level of _Table of Content_. This value is enabled in the range of from `1` to `6`.
185
185
**default**: `3`
186
186
187
187
* `ordered_chapter_level`
188
188
189
-
Set the level of heading number addition. This value is enabled in the range of from `1` to `3`.
189
+
Set the level of heading number addition. This value is enabled in the range of from `1` to `6`.
190
190
**default**: `3`
191
191
192
192
* `excludes_children`
@@ -245,6 +245,22 @@ plugins:
245
245
> <ANY_SITE_URL(eg. 'https://google.com')>
246
246
> ```
247
247
248
+
* `relaxedjs_path`
249
+
250
+
Set the value to execute command of relaxed if you're using e.g. '[Mermaid](https://mermaid-js.github.io) diagrams and Headless Chrome is not working for you.
251
+
Require "ReLaXed" Javascript PDF renderer to be installed on your system. See: '[ReLaXed](https://github.com/RelaxedJS/ReLaXed)'.
252
+
253
+
Please use 'theme_handler_path' option to specify custom JS sources and CSS Stylesheets which covers your needs. E.g. for Material
254
+
theme it would be **material.py**. See: **mkdocs-with-pdf/mkdocs_with_pdf/themes/material.py** for implementation details.
0 commit comments