Skip to main content

MkDocs plugin and extension to creates mindmaps from markdown using markmap

Project description

mkdocs-markmap

Beautiful and simple mindmaps written in markdown.

MIT license PyPI Latest Release Open Issues Open PRs

This is a plugin and an extension for mkdocs to add markmap.

Prerequisits

This plugin was tested with, but is not limited to:

  • Python 3.8
  • mkdocs 1.1

Quickstart

Install

pip install mkdocs-markmap

Configure

Add this to mkdocs.yml:

plugins:
  - markmap

Usage

This plugin supports code blocks of markdown as follows:

```markmap
# Root

## Branch 1

* Branchlet 1a
* Branchlet 1b

## Branch 2

* Branchlet 2a
* Branchlet 2b
```

It can also make use of file includes to keep your markdown tidy:

Look at this beautiful mindmap:

{!mindmap.mm.md!}

Advanced Settings

There are more options available for mkdocs.yml (shown values are defaults):

plugins:
  - markmap:
      base_path: docs
      encoding: utf-8
      file_extension: .mm.md
      d3_version: 6.7.0
      lib_version: 0.11.5
      view_version: 0.2.6

In addition, feel free to define your favourite source urls like this:

extra_javascript:
  - https://unpkg.com/d3@6.7.0/dist/d3.min.js
  - https://unpkg.com/markmap-lib@0.11.5/dist/browser/index.min.js
  - https://unpkg.com/markmap-view@0.2.6/dist/index.min.js

:warning: The urls need to contain one of these keywords to be considered as deviation from default:

  • d3
  • markmap-lib
  • markmap-view

Credits :clap:

Some of the development approaches are based on implementations provided by the following projects:

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

mkdocs-markmap-2.1.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_markmap-2.1.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs-markmap-2.1.3.tar.gz.

File metadata

  • Download URL: mkdocs-markmap-2.1.3.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for mkdocs-markmap-2.1.3.tar.gz
Algorithm Hash digest
SHA256 25bba560f57628e5502c70cc65030bcd2446c9bec3f5ff9c990e02623a05cd1c
MD5 b6f6d138fa2d95a6fc182e523fdc8c91
BLAKE2b-256 a181345960a680dc1808ae691347479f3eb904fcfb3ab53e74b3c3a0cdb089b8

See more details on using hashes here.

File details

Details for the file mkdocs_markmap-2.1.3-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_markmap-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for mkdocs_markmap-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17c949f52c6f69b0588b9e4e4afb40470680104350660038c5fc42b64586c029
MD5 43944736308e2715a5ced2bbd66c8e55
BLAKE2b-256 48d5bacaa232864a29eabc72c31079489be41f494c9baa330f06a00abeda5a94

See more details on using hashes here.

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