Skip to main content

Mind Map to Markdown for Roam import

Got a Mind Map with contents you'd like to import into Roam?

This Python application might do what just you want.

It will take a Freeplane .mm Mind Map file and convert it into Markdown ready for manual import into Roam.

I think Freemind mind maps should also work, but I have not yet tested them.

It's currently in early beta.

Features

The generated markdown file will have a hierarchy of bullet points that match the branches of the Mind Map.

For each branch that has a description, the text of the description will be appended to the branch title, starting on the line below.

If a branch has a link to a web page a link will be generated in the markdown file.

Rich text is supported in branch titles and descriptions.

Requirements

You need Python >= 3.8 and a recent version of pip3.

Installation

pip3 install fp2md4roam

Use

From a command line, run convert_map <path_to_mind_map> <target_directory>

So, if you have a mind map file my_map.mm, and type convert_map my_map.mm foo with a root node called My Smart Mind Map this will create a file called MySmartMindMap.md in the output directory foo.

You can then import the MySmartMap.md into Roam in the usual way.

When Roam imports a Markdown file it will ask you what name you want for the page after import.

Since this application will remove spaces and punctuation for the generated file name you may want to alter the page name before you import it.

Example:

Metadata

Release files for fp2md4roam 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fp2md4roam 0.2.2
File Size Uploaded
fp2md4roam-0.2.2.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fp2md4roam 0.2.2
File Interpreter ABI Platform
fp2md4roam-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / fp2md4roam-0.2.2.tar.gz

Download URL fp2md4roam-0.2.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
36bdc90b297e80e671e1e15c340fe075ac7847aadc40b178b559a2fe947f4a0e
BLAKE2b-256 checksum
How to use checksums
4d1cb399df743615d39c9f1cb5be936d9f0968f6bdf160b217da349d69714ce0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / fp2md4roam-0.2.2-py3-none-any.whl

Download URL fp2md4roam-0.2.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cf0b606518eb8e031ebaaf36d86e954571e51c729897c83e29cdd54cc55349c
BLAKE2b-256 checksum
How to use checksums
dce8268564a14c815e89bcd0266dfe655e3a4e377304d1aa078fc52d58efa43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page