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.
- {markdown_pdf-1.13.2/markdown_pdf.egg-info → markdown_pdf-1.13.3}/PKG-INFO +1 -1
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf/__init__.py +5 -1
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3/markdown_pdf.egg-info}/PKG-INFO +1 -1
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/pyproject.toml +1 -1
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/LICENSE +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/MANIFEST.in +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/README.md +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf/pligins/__init__.py +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf/pligins/helpers.py +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf/pligins/mermaid.py +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf/pligins/plantuml.py +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf/py.typed +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf.egg-info/SOURCES.txt +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf.egg-info/dependency_links.txt +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf.egg-info/requires.txt +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/markdown_pdf.egg-info/top_level.txt +0 -0
- {markdown_pdf-1.13.2 → markdown_pdf-1.13.3}/setup.cfg +0 -0
|
@@ -3,7 +3,11 @@ import io
|
|
|
3
3
|
import typing
|
|
4
4
|
import pathlib
|
|
5
5
|
|
|
6
|
-
|
|
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,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|