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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ The `Section` class can set the following attributes.
131
131
132
132
- toc: whether to include the headers `<h1>` - `<h6>` of this section in the TOC. Default is True.
133
133
- root: the name of the root directory from which the image file paths starts in markdown. Default ".".
134
-
- paper_size: name of paper size, [as described here](https://pymupdf.readthedocs.io/en/latest/functions.html#paper_size). Default "A4".
134
+
- paper_size: either the name of a paper size, [as described here](https://pymupdf.readthedocs.io/en/latest/functions.html#paper_size), or a list/tuple containing the width and height in mm. Default "A4".
135
135
- borders: size of borders. Default (36, 36, -36, -36).
136
136
137
137
The following document properties are available for assignment (dictionary `MarkdownPdf.meta`) with the default values indicated.
- toc: нужно ли включать заголовки `<h1>` - `<h6>` этой секции в TOC. По умолчанию True.
126
126
- root: имя корневого каталога, от которого начинаются пути файлов картинок в markdown. По умолчанию ".".
127
-
- paper_size: название размера бумаги, [как описано здесь](https://pymupdf.readthedocs.io/en/latest/functions.html#paper_size). По умолчанию "A4".
127
+
- paper_size: название размера бумаги, [как описано здесь](https://pymupdf.readthedocs.io/en/latest/functions.html#paper_size), или list/tuple содержащий ширину и высоту в мм. По умолчанию "A4".
128
128
- borders: размер полей. По умолчанию (36, 36, -36, -36).
129
129
130
130
Для присвоения доступны следующие свойства документа (словарь `MarkdownPdf.meta`) с указанными значениями по умолчанию.
0 commit comments