mddoco 2.4.0__tar.gz → 2.5.0__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.
- {mddoco-2.4.0/src/mddoco.egg-info → mddoco-2.5.0}/PKG-INFO +2 -1
- {mddoco-2.4.0 → mddoco-2.5.0}/README.md +1 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/pyproject.toml +1 -1
- mddoco-2.5.0/src/mddoco/__init__.py +1 -0
- mddoco-2.5.0/src/mddoco/themes/site-professional-wide.html +14 -0
- {mddoco-2.4.0 → mddoco-2.5.0/src/mddoco.egg-info}/PKG-INFO +2 -1
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco.egg-info/SOURCES.txt +1 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/tests/test_preprocessor.py +1 -1
- {mddoco-2.4.0 → mddoco-2.5.0}/tests/test_themes.py +7 -1
- mddoco-2.4.0/src/mddoco/__init__.py +0 -1
- {mddoco-2.4.0 → mddoco-2.5.0}/LICENSE +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/setup.cfg +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/cli.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/converter.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/d2.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/docx.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/graph.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/mermaid.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/pdf.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/preprocessor.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/renderer.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/scanner.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/_site_base.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/academic-wide.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/academic.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/dark-wide.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/dark.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/default-wide.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/default.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/paged-professional.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/professional-wide.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/professional.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/site-dark.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/site-professional.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/site-terminal.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/site.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/themes/vanilla.html +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/toc.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco/writer.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco.egg-info/dependency_links.txt +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco.egg-info/entry_points.txt +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco.egg-info/requires.txt +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/src/mddoco.egg-info/top_level.txt +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/tests/test_d2.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/tests/test_docx.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/tests/test_jinja_formats.py +0 -0
- {mddoco-2.4.0 → mddoco-2.5.0}/tests/test_toc.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mddoco
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Summary: Markdown to HTML/PDF document converter
|
|
5
5
|
Author-email: Phil Massyn <phil.massyn@icloud.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/massyn/mddoco
|
|
@@ -217,6 +217,7 @@ Themes are Jinja2 HTML files with embedded CSS. Pass a theme name with `--theme
|
|
|
217
217
|
| `paged-professional` | Corporate style with Paged.js pagination for print-ready PDFs |
|
|
218
218
|
| `site` | Website layout: side nav with one page per H1, minimalist styling (HTML only) |
|
|
219
219
|
| `site-professional` | Same as `site` with a navy sidebar and card layout (HTML only) |
|
|
220
|
+
| `site-professional-wide` | Same as `site-professional` with the content card stretched to almost full width (HTML only) |
|
|
220
221
|
| `site-dark` | Same as `site` on a dark background (HTML only) |
|
|
221
222
|
| `site-terminal` | Same as `site` as a green-phosphor terminal, just for fun (HTML only) |
|
|
222
223
|
|
|
@@ -194,6 +194,7 @@ Themes are Jinja2 HTML files with embedded CSS. Pass a theme name with `--theme
|
|
|
194
194
|
| `paged-professional` | Corporate style with Paged.js pagination for print-ready PDFs |
|
|
195
195
|
| `site` | Website layout: side nav with one page per H1, minimalist styling (HTML only) |
|
|
196
196
|
| `site-professional` | Same as `site` with a navy sidebar and card layout (HTML only) |
|
|
197
|
+
| `site-professional-wide` | Same as `site-professional` with the content card stretched to almost full width (HTML only) |
|
|
197
198
|
| `site-dark` | Same as `site` on a dark background (HTML only) |
|
|
198
199
|
| `site-terminal` | Same as `site` as a green-phosphor terminal, just for fun (HTML only) |
|
|
199
200
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.5.0"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{#- site-professional-wide: the site-professional theme with the content card stretched
|
|
2
|
+
to almost the full width beside the sidebar. Everything else comes from
|
|
3
|
+
site-professional.html. -#}
|
|
4
|
+
{% extends "site-professional.html" %}
|
|
5
|
+
{% set pdf_supported = false %}
|
|
6
|
+
|
|
7
|
+
{% block theme_styles %}
|
|
8
|
+
{{ super() }}
|
|
9
|
+
:root { --site-content-width: none; }
|
|
10
|
+
.site-content { max-width: none; margin: 0 1.5rem; }
|
|
11
|
+
@media (max-width: 900px) {
|
|
12
|
+
.site-content { margin: 0; }
|
|
13
|
+
}
|
|
14
|
+
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mddoco
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Summary: Markdown to HTML/PDF document converter
|
|
5
5
|
Author-email: Phil Massyn <phil.massyn@icloud.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/massyn/mddoco
|
|
@@ -217,6 +217,7 @@ Themes are Jinja2 HTML files with embedded CSS. Pass a theme name with `--theme
|
|
|
217
217
|
| `paged-professional` | Corporate style with Paged.js pagination for print-ready PDFs |
|
|
218
218
|
| `site` | Website layout: side nav with one page per H1, minimalist styling (HTML only) |
|
|
219
219
|
| `site-professional` | Same as `site` with a navy sidebar and card layout (HTML only) |
|
|
220
|
+
| `site-professional-wide` | Same as `site-professional` with the content card stretched to almost full width (HTML only) |
|
|
220
221
|
| `site-dark` | Same as `site` on a dark background (HTML only) |
|
|
221
222
|
| `site-terminal` | Same as `site` as a green-phosphor terminal, just for fun (HTML only) |
|
|
222
223
|
|
|
@@ -31,6 +31,7 @@ src/mddoco/themes/paged-professional.html
|
|
|
31
31
|
src/mddoco/themes/professional-wide.html
|
|
32
32
|
src/mddoco/themes/professional.html
|
|
33
33
|
src/mddoco/themes/site-dark.html
|
|
34
|
+
src/mddoco/themes/site-professional-wide.html
|
|
34
35
|
src/mddoco/themes/site-professional.html
|
|
35
36
|
src/mddoco/themes/site-terminal.html
|
|
36
37
|
src/mddoco/themes/site.html
|
|
@@ -6,7 +6,13 @@ from click.testing import CliRunner
|
|
|
6
6
|
from mddoco.cli import main
|
|
7
7
|
from mddoco.renderer import check_theme_format, render_html, theme_supports_pdf
|
|
8
8
|
|
|
9
|
-
SITE_THEMES = [
|
|
9
|
+
SITE_THEMES = [
|
|
10
|
+
"site",
|
|
11
|
+
"site-professional",
|
|
12
|
+
"site-professional-wide",
|
|
13
|
+
"site-dark",
|
|
14
|
+
"site-terminal",
|
|
15
|
+
]
|
|
10
16
|
|
|
11
17
|
|
|
12
18
|
@pytest.mark.parametrize("theme", SITE_THEMES)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.4.0"
|
|
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
|
|
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
|
|
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
|