markdown_convert 1.2.34__tar.gz → 1.2.36__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markdown_convert
3
- Version: 1.2.34
3
+ Version: 1.2.36
4
4
  Summary: Convert Markdown files to PDF from your command line.
5
5
  Project-URL: homepage, https://github.com/Julynx/markdown_convert
6
6
  Author-email: Julio Cabria <juliocabria@tutanota.com>
@@ -113,6 +113,13 @@ pre {
113
113
  white-space: pre-wrap;
114
114
  }
115
115
 
116
+ pre > code {
117
+ display: block;
118
+ padding: 1em;
119
+ margin-top: var(--top-margin);
120
+ margin-bottom: var(--bottom-margin);
121
+ }
122
+
116
123
  code {
117
124
  font-family: "JetBrains Mono", "Consolas", "Ubuntu Mono", "DejaVu Sans Mono",
118
125
  "Liberation Mono", "Courier New", monospace;
@@ -212,18 +219,20 @@ td {
212
219
  }
213
220
 
214
221
  section,
215
- ol,
216
- ul,
217
222
  table,
218
223
  blockquote,
219
- code,
220
- p,
224
+ code {
225
+ page-break-inside: avoid;
226
+ break-inside: avoid;
227
+ }
228
+
221
229
  h1,
222
230
  h2,
223
231
  h3,
224
232
  h4,
225
233
  h5 {
226
- page-break-inside: avoid;
234
+ page-break-after: avoid;
235
+ break-after: avoid;
227
236
  }
228
237
 
229
238
  /* Increase vertical padding for math elements with display=block */
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "markdown_convert"
7
- version = "1.2.34"
7
+ version = "1.2.36"
8
8
  description = "Convert Markdown files to PDF from your command line."
9
9
  authors = [
10
10
  { name = "Julio Cabria", email = "juliocabria@tutanota.com" },