Export Markmap mind maps to high-resolution PNG images
Project description
markmap-export
Export Markmap mind maps to high-resolution PNG images.
Why?
Markmap uses SVG with <foreignObject> for KaTeX and syntax highlighting, which breaks standard screenshot tools and SVG converters. This tool uses Playwright to render the actual browser output at any resolution.
Install
uv tool install markmap-export
markmap-export --install-browser
Usage
# Auto-detect optimal size (recommended)
markmap-export mindmap.html
# Specify output path
markmap-export mindmap.html -o output.png
# Custom dimensions and scale
markmap-export mindmap.html -w 3000 -H 4000 -s 2
Options
| Option | Description | Default |
|---|---|---|
-o, --output |
Output PNG path | Same as input |
-w, --width |
Viewport width | Auto-detect |
-H, --height |
Viewport height | Auto-detect |
-s, --scale |
Device scale factor | 2.0 (Retina) |
--wait |
Render wait time (ms) | 2000 |
-q, --quiet |
Suppress output | False |
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file markmap_export-0.1.1.tar.gz.
File metadata
- Download URL: markmap_export-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6795e0186d80a8a65a020301ee1fcdc5fca0ab2a4531ab7d84919585996717b0
|
|
| MD5 |
df9d78eef5fdcecf473a1789860c4c30
|
|
| BLAKE2b-256 |
bd0e57c4baf2368128bb818b5eebe463ffdfe59fc4779dad913ff3db80f1535d
|
Provenance
The following attestation bundles were made for markmap_export-0.1.1.tar.gz:
Publisher:
publish.yml on metrovoc/markmap-export
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
markmap_export-0.1.1.tar.gz -
Subject digest:
6795e0186d80a8a65a020301ee1fcdc5fca0ab2a4531ab7d84919585996717b0 - Sigstore transparency entry: 816631000
- Sigstore integration time:
-
Permalink:
metrovoc/markmap-export@ad93b4471444e70815103abcc3d5ac2137397242 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/metrovoc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ad93b4471444e70815103abcc3d5ac2137397242 -
Trigger Event:
push
-
Statement type:
File details
Details for the file markmap_export-0.1.1-py3-none-any.whl.
File metadata
- Download URL: markmap_export-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
475ebd211dfb55a4b1d88dba3c659be434275f58c3eaed8104073b4ad1655748
|
|
| MD5 |
3392a1ccb4644686918c24c2713aa075
|
|
| BLAKE2b-256 |
6f89eff34c9d63a732c5a54f04a797e98b3a6393a68e2ce107fc41311c56f7ab
|
Provenance
The following attestation bundles were made for markmap_export-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on metrovoc/markmap-export
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
markmap_export-0.1.1-py3-none-any.whl -
Subject digest:
475ebd211dfb55a4b1d88dba3c659be434275f58c3eaed8104073b4ad1655748 - Sigstore transparency entry: 816631070
- Sigstore integration time:
-
Permalink:
metrovoc/markmap-export@ad93b4471444e70815103abcc3d5ac2137397242 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/metrovoc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ad93b4471444e70815103abcc3d5ac2137397242 -
Trigger Event:
push
-
Statement type: