markdown-pdf 1.13.2__tar.gz → 1.13.3__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_pdf
3
- Version: 1.13.2
3
+ Version: 1.13.3
4
4
  Summary: Markdown to pdf renderer
5
5
  Author-email: Vitaly Bogomolov <mail@vitaly-bogomolov.ru>
6
6
  License-Expression: AGPL-3.0-only
@@ -3,7 +3,11 @@ import io
3
3
  import typing
4
4
  import pathlib
5
5
 
6
- import fitz
6
+ try:
7
+ import pymupdf as fitz
8
+ except ImportError: # pragma: no cover
9
+ import fitz
10
+
7
11
  from markdown_it import MarkdownIt
8
12
  from pymupdf import (
9
13
  _as_pdf_document, mupdf, JM_embedded_clean, JM_ensure_identity, JM_new_output_fileptr, ASSERT_PDF, Rect,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: markdown_pdf
3
- Version: 1.13.2
3
+ Version: 1.13.3
4
4
  Summary: Markdown to pdf renderer
5
5
  Author-email: Vitaly Bogomolov <mail@vitaly-bogomolov.ru>
6
6
  License-Expression: AGPL-3.0-only
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "markdown_pdf"
10
- version = "1.13.2"
10
+ version = "1.13.3"
11
11
  description = "Markdown to pdf renderer"
12
12
  readme = { file = "README.md", content-type = "text/markdown" }
13
13
  requires-python = ">=3.8"
File without changes
File without changes
File without changes
File without changes