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.3.1
      lib_version: 0.11.1
      view_version: 0.2.1

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

extra_javascript:
  - https://unpkg.com/d3@6.3.1/dist/d3.min.js
  - https://unpkg.com/markmap-lib@0.11.1/dist/browser/index.min.js
  - https://unpkg.com/markmap-view@0.2.1/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.0.1.tar.gz (7.9 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.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs-markmap-2.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for mkdocs-markmap-2.0.1.tar.gz
Algorithm Hash digest
SHA256 066d606c762391dbf562ee6b7815ba857079184b93de80d231d6aeea14ee8596
MD5 9c562275a46c1ac552bfc6c4ebc6417d
BLAKE2b-256 2d5e536b8f6162db34965fc7a9757f0dafb9d39b3662ae4789e591497b3a7782

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkdocs_markmap-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for mkdocs_markmap-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c51660a529867f8800d03fe0497560d175c2a2b6fc55c405b68691b70a3acae4
MD5 0514835a82950c3554454c2f23897b77
BLAKE2b-256 15c2c85e3398c23ebbf190a0b3d681178c0cf4ea5c92ebec7b086d50dfb45450

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