Skip to main content

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

markmap_export-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markmap_export-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for markmap_export-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6795e0186d80a8a65a020301ee1fcdc5fca0ab2a4531ab7d84919585996717b0
MD5 df9d78eef5fdcecf473a1789860c4c30
BLAKE2b-256 bd0e57c4baf2368128bb818b5eebe463ffdfe59fc4779dad913ff3db80f1535d

See more details on using hashes here.

Provenance

The following attestation bundles were made for markmap_export-0.1.1.tar.gz:

Publisher: publish.yml on metrovoc/markmap-export

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for markmap_export-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 475ebd211dfb55a4b1d88dba3c659be434275f58c3eaed8104073b4ad1655748
MD5 3392a1ccb4644686918c24c2713aa075
BLAKE2b-256 6f89eff34c9d63a732c5a54f04a797e98b3a6393a68e2ce107fc41311c56f7ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for markmap_export-0.1.1-py3-none-any.whl:

Publisher: publish.yml on metrovoc/markmap-export

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page