markdown_convert 1.2.41__py3-none-any.whl → 1.2.43__py3-none-any.whl
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.
- markdown_convert/default.css +107 -27
- {markdown_convert-1.2.41.dist-info → markdown_convert-1.2.43.dist-info}/METADATA +2 -2
- {markdown_convert-1.2.41.dist-info → markdown_convert-1.2.43.dist-info}/RECORD +6 -6
- {markdown_convert-1.2.41.dist-info → markdown_convert-1.2.43.dist-info}/WHEEL +0 -0
- {markdown_convert-1.2.41.dist-info → markdown_convert-1.2.43.dist-info}/entry_points.txt +0 -0
- {markdown_convert-1.2.41.dist-info → markdown_convert-1.2.43.dist-info}/licenses/LICENSE +0 -0
markdown_convert/default.css
CHANGED
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
--left-margin: 1.5em;
|
|
11
11
|
--left-margin-small: 1em;
|
|
12
12
|
--left-margin-big: 2em;
|
|
13
|
+
|
|
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 */
|
|
13
21
|
}
|
|
14
22
|
|
|
15
23
|
/* Document */
|
|
@@ -21,9 +29,10 @@ html {
|
|
|
21
29
|
body {
|
|
22
30
|
margin: 0;
|
|
23
31
|
padding: 0;
|
|
24
|
-
font-family:
|
|
32
|
+
font-family:
|
|
33
|
+
"Segoe UI", "Ubuntu", "DejaVu Sans", "Liberation Sans", "Arial",
|
|
25
34
|
"sans-serif";
|
|
26
|
-
color:
|
|
35
|
+
color: var(--color-text);
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
/* Headers and paragraphs */
|
|
@@ -50,18 +59,18 @@ h2,
|
|
|
50
59
|
h3,
|
|
51
60
|
h4,
|
|
52
61
|
h5 {
|
|
53
|
-
color:
|
|
62
|
+
color: var(--color-text);
|
|
54
63
|
font-weight: 600;
|
|
55
64
|
}
|
|
56
65
|
|
|
57
66
|
h1 {
|
|
58
67
|
font-size: 2.2rem;
|
|
59
|
-
border-bottom: 0.5px solid
|
|
68
|
+
border-bottom: 0.5px solid var(--color-border);
|
|
60
69
|
}
|
|
61
70
|
|
|
62
71
|
h2 {
|
|
63
72
|
font-size: 1.8rem;
|
|
64
|
-
border-bottom: 0.5px solid
|
|
73
|
+
border-bottom: 0.5px solid var(--color-border);
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
h3 {
|
|
@@ -82,7 +91,7 @@ p {
|
|
|
82
91
|
|
|
83
92
|
/* Links */
|
|
84
93
|
a {
|
|
85
|
-
color:
|
|
94
|
+
color: var(--color-links);
|
|
86
95
|
margin: 0;
|
|
87
96
|
vertical-align: baseline;
|
|
88
97
|
}
|
|
@@ -104,7 +113,7 @@ ol ol,
|
|
|
104
113
|
ul ul {
|
|
105
114
|
margin-bottom: 0;
|
|
106
115
|
margin-left: 0;
|
|
107
|
-
padding-left:
|
|
116
|
+
padding-left: var(--left-margin);
|
|
108
117
|
}
|
|
109
118
|
|
|
110
119
|
/* Code blocks */
|
|
@@ -113,7 +122,7 @@ pre {
|
|
|
113
122
|
white-space: pre-wrap;
|
|
114
123
|
}
|
|
115
124
|
|
|
116
|
-
pre>code {
|
|
125
|
+
pre > code {
|
|
117
126
|
display: block;
|
|
118
127
|
padding: 1em;
|
|
119
128
|
margin-top: 0;
|
|
@@ -121,10 +130,11 @@ pre>code {
|
|
|
121
130
|
}
|
|
122
131
|
|
|
123
132
|
code {
|
|
124
|
-
font-family:
|
|
133
|
+
font-family:
|
|
134
|
+
"JetBrains Mono", "Consolas", "Ubuntu Mono", "DejaVu Sans Mono",
|
|
125
135
|
"Liberation Mono", "Courier New", monospace;
|
|
126
136
|
font-size: 1rem;
|
|
127
|
-
background-color:
|
|
137
|
+
background-color: var(--color-text-background);
|
|
128
138
|
padding-left: 0.4em;
|
|
129
139
|
padding-right: 0.4em;
|
|
130
140
|
display: inline-block;
|
|
@@ -145,32 +155,93 @@ blockquote {
|
|
|
145
155
|
margin-top: 0;
|
|
146
156
|
margin-bottom: var(--bottom-margin);
|
|
147
157
|
margin-left: var(--left-margin);
|
|
148
|
-
border-left: 4px solid
|
|
158
|
+
border-left: 4px solid var(--color-border-light);
|
|
149
159
|
padding-left: 0.5em;
|
|
150
|
-
color:
|
|
160
|
+
color: var(--color-text-light);
|
|
151
161
|
}
|
|
152
162
|
|
|
153
|
-
blockquote>blockquote {
|
|
163
|
+
blockquote > blockquote {
|
|
154
164
|
padding-left: var(--left-margin-small);
|
|
155
165
|
}
|
|
156
166
|
|
|
167
|
+
/* Images */
|
|
157
168
|
img {
|
|
158
169
|
max-width: 80vw;
|
|
159
170
|
max-height: 80vh;
|
|
160
171
|
width: auto;
|
|
161
172
|
height: auto;
|
|
162
173
|
display: block;
|
|
163
|
-
margin:
|
|
174
|
+
margin: 1em auto;
|
|
164
175
|
}
|
|
165
176
|
|
|
166
|
-
/*
|
|
167
|
-
p>img+em {
|
|
177
|
+
/* Image footers */
|
|
178
|
+
p > img + em {
|
|
168
179
|
text-align: center;
|
|
169
180
|
font-size: 1rem;
|
|
170
181
|
font-style: italic;
|
|
171
|
-
color:
|
|
182
|
+
color: var(--color-text-light);
|
|
172
183
|
display: block;
|
|
173
|
-
margin: 1em auto
|
|
184
|
+
margin: 1em auto;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Image alt text attributes */
|
|
188
|
+
img[alt*="::tiny::"],
|
|
189
|
+
img[alt*="::smallest::"] {
|
|
190
|
+
width: 10vw;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
img[alt*="::small::"] {
|
|
194
|
+
width: 30vw;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
img[alt*="::medium::"],
|
|
198
|
+
img[alt*="::normal::"] {
|
|
199
|
+
width: 60vw;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
img[alt*="::large::"],
|
|
203
|
+
img[alt*="::big::"] {
|
|
204
|
+
width: 80vw;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
img[alt*="::full::"],
|
|
208
|
+
img[alt*="::max::"],
|
|
209
|
+
img[alt*="::huge::"],
|
|
210
|
+
img[alt*="::wide::"] {
|
|
211
|
+
width: 100vw;
|
|
212
|
+
max-width: 100vw;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
p:has(> img[alt*="::inline::"]) {
|
|
216
|
+
display: inline-block;
|
|
217
|
+
width: min-content;
|
|
218
|
+
vertical-align: top;
|
|
219
|
+
margin-right: 1em;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
img[alt*="::shadow::"] {
|
|
223
|
+
box-shadow: rgba(100, 100, 100, 0.4) 0px 2px 8px 0px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
img[alt*="::border::"] {
|
|
227
|
+
border: 2px solid var(--color-border);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
img[alt*="::invert::"] {
|
|
231
|
+
filter: invert(100%);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
img[alt*="::grayscale::"],
|
|
235
|
+
img[alt*="::greyscale::"] {
|
|
236
|
+
filter: grayscale(100%);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
img[alt*="::circle::"] {
|
|
240
|
+
border-radius: 50%;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
img[alt*="::rounded::"] {
|
|
244
|
+
border-radius: 1em;
|
|
174
245
|
}
|
|
175
246
|
|
|
176
247
|
/* Tables */
|
|
@@ -186,17 +257,17 @@ table {
|
|
|
186
257
|
}
|
|
187
258
|
|
|
188
259
|
thead {
|
|
189
|
-
background-color:
|
|
260
|
+
background-color: var(--color-text-background);
|
|
190
261
|
}
|
|
191
262
|
|
|
192
263
|
tbody {
|
|
193
|
-
color:
|
|
264
|
+
color: var(--color-text-light);
|
|
194
265
|
}
|
|
195
266
|
|
|
196
267
|
th,
|
|
197
268
|
td {
|
|
198
269
|
padding: 0.5em 0.75em;
|
|
199
|
-
border: 1px solid
|
|
270
|
+
border: 1px solid var(--color-border-light);
|
|
200
271
|
overflow-wrap: break-word;
|
|
201
272
|
vertical-align: top;
|
|
202
273
|
}
|
|
@@ -212,14 +283,23 @@ td {
|
|
|
212
283
|
word-break: break-word;
|
|
213
284
|
}
|
|
214
285
|
|
|
286
|
+
/* Horizontal rulers */
|
|
287
|
+
hr {
|
|
288
|
+
height: 1px;
|
|
289
|
+
background-color: var(--color-border);
|
|
290
|
+
border: none;
|
|
291
|
+
}
|
|
292
|
+
|
|
215
293
|
/* Page breaks */
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
page-break-after: always;
|
|
294
|
+
hr:has(+ hr) {
|
|
295
|
+
visibility: hidden;
|
|
219
296
|
}
|
|
220
297
|
|
|
221
|
-
|
|
222
|
-
|
|
298
|
+
hr + hr {
|
|
299
|
+
clear: both;
|
|
300
|
+
break-after: always;
|
|
301
|
+
page-break-after: always;
|
|
302
|
+
visibility: hidden;
|
|
223
303
|
}
|
|
224
304
|
|
|
225
305
|
section,
|
|
@@ -239,7 +319,7 @@ h5 {
|
|
|
239
319
|
break-after: avoid;
|
|
240
320
|
}
|
|
241
321
|
|
|
242
|
-
/*
|
|
322
|
+
/* Mathematical expressions */
|
|
243
323
|
math[display="block"] {
|
|
244
324
|
margin-top: 1em;
|
|
245
325
|
margin-bottom: 1em;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown_convert
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.43
|
|
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>
|
|
@@ -31,7 +31,7 @@ _Convert Markdown files to PDF from your command line._
|
|
|
31
31
|
|
|
32
32
|
<br>
|
|
33
33
|
|
|
34
|
-
<img src='https://i.imgur.com/kzoo3hs.png'
|
|
34
|
+
<img src='https://i.imgur.com/kzoo3hs.png'>
|
|
35
35
|
|
|
36
36
|
<br>
|
|
37
37
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
markdown_convert/__init__.py,sha256=ysW3pXsDGGK4PzZHcIBTpfVW58IkDUwHffDkf_GM6UU,303
|
|
2
2
|
markdown_convert/__main__.py,sha256=w6sHfJcJQpMOERPqiNoKgoRM38YUwK22eGBmVkpZj1g,2807
|
|
3
3
|
markdown_convert/code.css,sha256=Wt4FqFqJcpT-jwY3GN-o4ZRCCXU8DQj-9lqKdGiuoyw,4935
|
|
4
|
-
markdown_convert/default.css,sha256=
|
|
4
|
+
markdown_convert/default.css,sha256=LQ-ydMbBO61toJMhjs7dJlh9R4UTL1JnSVb9eEb_pc0,5138
|
|
5
5
|
markdown_convert/modules/__init__.py,sha256=PFPgiQhMXgyfjD8BkfLC_X8AR1jz-dCxfif2qmNofJs,65
|
|
6
6
|
markdown_convert/modules/constants.py,sha256=eUeIFRxZerP3E0Rgp_Nsl0Q38IBELwca5UO3fbUcxRA,1280
|
|
7
7
|
markdown_convert/modules/convert.py,sha256=02N_Iz4TLKWR1xseNv8hyCTujCJdYepWZlxjXw9tsj0,8876
|
|
@@ -9,8 +9,8 @@ markdown_convert/modules/resources.py,sha256=tnW8JmCrJNBRbzOcaOVG6GX5jPC8Kzj3dA7
|
|
|
9
9
|
markdown_convert/modules/transform.py,sha256=p7J8LJKBjMA_EtUYIfXqw_Tc1eean7EbM6KW5Tv4AOs,3138
|
|
10
10
|
markdown_convert/modules/utils.py,sha256=NX0WegM8e8MPKNNmweTujAWO8ZghdB8LSGDx20K2E44,655
|
|
11
11
|
markdown_convert/modules/validate.py,sha256=XV_k7cHeifEKDaltF26tCmabs2-Me5msP3enI_eVwfA,1517
|
|
12
|
-
markdown_convert-1.2.
|
|
13
|
-
markdown_convert-1.2.
|
|
14
|
-
markdown_convert-1.2.
|
|
15
|
-
markdown_convert-1.2.
|
|
16
|
-
markdown_convert-1.2.
|
|
12
|
+
markdown_convert-1.2.43.dist-info/METADATA,sha256=Dwy6DB283L8VR38CX9HIGcXb1eqNftKxpMx_cyYLWM8,3928
|
|
13
|
+
markdown_convert-1.2.43.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
14
|
+
markdown_convert-1.2.43.dist-info/entry_points.txt,sha256=RCmzC7C0sX-SpzIP2Cr34rhg3lMd7BRx-exaZPfK8bU,68
|
|
15
|
+
markdown_convert-1.2.43.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
16
|
+
markdown_convert-1.2.43.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|