markdown_convert 1.2.40__py3-none-any.whl → 1.2.41__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/__main__.py +0 -2
- markdown_convert/modules/convert.py +1 -1
- markdown_convert/modules/transform.py +3 -3
- {markdown_convert-1.2.40.dist-info → markdown_convert-1.2.41.dist-info}/METADATA +2 -2
- {markdown_convert-1.2.40.dist-info → markdown_convert-1.2.41.dist-info}/RECORD +8 -8
- {markdown_convert-1.2.40.dist-info → markdown_convert-1.2.41.dist-info}/WHEEL +0 -0
- {markdown_convert-1.2.40.dist-info → markdown_convert-1.2.41.dist-info}/entry_points.txt +0 -0
- {markdown_convert-1.2.40.dist-info → markdown_convert-1.2.41.dist-info}/licenses/LICENSE +0 -0
markdown_convert/__main__.py
CHANGED
|
@@ -5,7 +5,6 @@ CLI interface to convert markdown files to pdf.
|
|
|
5
5
|
Author: @julynx
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
from sys import exit as sys_exit
|
|
10
9
|
|
|
11
10
|
from argsdict import args
|
|
@@ -78,7 +77,6 @@ def main():
|
|
|
78
77
|
|
|
79
78
|
# pylint: disable=W0718
|
|
80
79
|
except Exception as err:
|
|
81
|
-
|
|
82
80
|
asked_for_help = "--help" in arg or "-h" in arg
|
|
83
81
|
show_usage = isinstance(err, (IndexError, ValueError)) or asked_for_help
|
|
84
82
|
|
|
@@ -21,13 +21,13 @@ def create_html_document(html_content, css_content, csp):
|
|
|
21
21
|
<html>
|
|
22
22
|
<head>
|
|
23
23
|
<meta charset="UTF-8">
|
|
24
|
-
<meta http-equiv="Content-Security-Policy" content="{csp or
|
|
24
|
+
<meta http-equiv="Content-Security-Policy" content="{csp or ""}">
|
|
25
25
|
<style>
|
|
26
|
-
{css_content or
|
|
26
|
+
{css_content or ""}
|
|
27
27
|
</style>
|
|
28
28
|
</head>
|
|
29
29
|
<body>
|
|
30
|
-
{html_content or
|
|
30
|
+
{html_content or ""}
|
|
31
31
|
</body>
|
|
32
32
|
</html>"""
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown_convert
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.41
|
|
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>
|
|
@@ -9,7 +9,7 @@ License-File: LICENSE
|
|
|
9
9
|
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Requires-Python: <3.15,>=3.
|
|
12
|
+
Requires-Python: <3.15,>=3.11
|
|
13
13
|
Requires-Dist: argsdict==1.0.0
|
|
14
14
|
Requires-Dist: beautifulsoup4>=4.14.3
|
|
15
15
|
Requires-Dist: latex2mathml>=3.78.1
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
markdown_convert/__init__.py,sha256=ysW3pXsDGGK4PzZHcIBTpfVW58IkDUwHffDkf_GM6UU,303
|
|
2
|
-
markdown_convert/__main__.py,sha256=
|
|
2
|
+
markdown_convert/__main__.py,sha256=w6sHfJcJQpMOERPqiNoKgoRM38YUwK22eGBmVkpZj1g,2807
|
|
3
3
|
markdown_convert/code.css,sha256=Wt4FqFqJcpT-jwY3GN-o4ZRCCXU8DQj-9lqKdGiuoyw,4935
|
|
4
4
|
markdown_convert/default.css,sha256=rIwRao7l7Rq6rkOaxVMfZ4yGQc2D68eJ7URLQ597GcY,3530
|
|
5
5
|
markdown_convert/modules/__init__.py,sha256=PFPgiQhMXgyfjD8BkfLC_X8AR1jz-dCxfif2qmNofJs,65
|
|
6
6
|
markdown_convert/modules/constants.py,sha256=eUeIFRxZerP3E0Rgp_Nsl0Q38IBELwca5UO3fbUcxRA,1280
|
|
7
|
-
markdown_convert/modules/convert.py,sha256=
|
|
7
|
+
markdown_convert/modules/convert.py,sha256=02N_Iz4TLKWR1xseNv8hyCTujCJdYepWZlxjXw9tsj0,8876
|
|
8
8
|
markdown_convert/modules/resources.py,sha256=tnW8JmCrJNBRbzOcaOVG6GX5jPC8Kzj3dA7gX0B935A,2488
|
|
9
|
-
markdown_convert/modules/transform.py,sha256=
|
|
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.41.dist-info/METADATA,sha256=ATlu-Biqp5xWcJgxvd9YtO72VtglXtREg2T5JvN0pTw,3940
|
|
13
|
+
markdown_convert-1.2.41.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
14
|
+
markdown_convert-1.2.41.dist-info/entry_points.txt,sha256=RCmzC7C0sX-SpzIP2Cr34rhg3lMd7BRx-exaZPfK8bU,68
|
|
15
|
+
markdown_convert-1.2.41.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
16
|
+
markdown_convert-1.2.41.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|