markdown_convert 1.2.47__tar.gz → 1.2.49__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.47
3
+ Version: 1.2.49
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>
@@ -12,12 +12,18 @@
12
12
  --left-margin-big: 2em;
13
13
 
14
14
  /* -- Colors -- */
15
- --color-text: #333; /* Main text color */
16
- --color-text-light: #666; /* Tables, blockquotes, footers */
17
- --color-text-background: #eee; /* Code blocks, table headers */
18
- --color-border: #999; /* Image borders, rules */
19
- --color-border-light: #ccc; /* Table borders, blockquotes */
20
- --color-links: #09f; /* Hyperlinks */
15
+ /* Main text color */
16
+ --color-text: #333;
17
+ /* Tables, blockquotes, footers */
18
+ --color-text-light: #666;
19
+ /* Code blocks, table headers */
20
+ --color-text-background: #eee;
21
+ /* Image borders, rules */
22
+ --color-border: #999;
23
+ /* Table borders, blockquotes */
24
+ --color-border-light: #ccc;
25
+ /* Hyperlinks */
26
+ --color-links: #09f;
21
27
  }
22
28
 
23
29
  /* Document */
@@ -59,6 +65,8 @@ h2,
59
65
  h3,
60
66
  h4,
61
67
  h5 {
68
+ line-height: 1;
69
+ padding-bottom: 0.5rem;
62
70
  color: var(--color-text);
63
71
  font-weight: 600;
64
72
  }
@@ -122,7 +130,7 @@ pre {
122
130
  white-space: pre-wrap;
123
131
  }
124
132
 
125
- pre > code {
133
+ pre>code {
126
134
  display: block;
127
135
  padding: 1em;
128
136
  margin-top: 0;
@@ -160,7 +168,7 @@ blockquote {
160
168
  color: var(--color-text-light);
161
169
  }
162
170
 
163
- blockquote > blockquote {
171
+ blockquote>blockquote {
164
172
  padding-left: var(--left-margin-small);
165
173
  }
166
174
 
@@ -175,7 +183,7 @@ img {
175
183
  }
176
184
 
177
185
  /* Image footers */
178
- p > img + em {
186
+ p>img+em {
179
187
  text-align: center;
180
188
  font-size: 1rem;
181
189
  font-style: italic;
@@ -284,19 +292,10 @@ th,
284
292
  td {
285
293
  padding: 0.5em 0.75em;
286
294
  border: 1px solid var(--color-border-light);
287
- overflow-wrap: break-word;
288
295
  vertical-align: top;
289
- }
290
-
291
- th {
292
- white-space: normal;
293
- word-break: keep-all;
294
- hyphens: auto;
295
- }
296
-
297
- td {
296
+ overflow-wrap: break-word;
297
+ word-break: normal;
298
298
  white-space: normal;
299
- word-break: break-word;
300
299
  }
301
300
 
302
301
  /* Horizontal rulers */
@@ -311,7 +310,7 @@ hr:has(+ hr) {
311
310
  visibility: hidden;
312
311
  }
313
312
 
314
- hr + hr {
313
+ hr+hr {
315
314
  clear: both;
316
315
  break-after: always;
317
316
  page-break-after: always;
@@ -321,7 +320,11 @@ hr + hr {
321
320
  section,
322
321
  table,
323
322
  blockquote,
324
- code {
323
+ pre,
324
+ code,
325
+ img,
326
+ figure,
327
+ svg {
325
328
  page-break-inside: avoid;
326
329
  break-inside: avoid;
327
330
  }
@@ -420,3 +423,13 @@ math {
420
423
  display: block;
421
424
  text-align: center;
422
425
  }
426
+
427
+ .right {
428
+ display: block;
429
+ text-align: right;
430
+ }
431
+
432
+ .justify {
433
+ display: block;
434
+ text-align: justify;
435
+ }
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "markdown_convert"
7
- version = "1.2.47"
7
+ version = "1.2.49"
8
8
  description = "Convert Markdown files to PDF from your command line."
9
9
  authors = [
10
10
  { name = "Julio Cabria", email = "juliocabria@tutanota.com" },