/md2notion

:memo: Preserve math formatting when importing markdown files to Notion (using md2notion)

Primary LanguagePython

md2notion

This repository is a small enhancement on top of md2notion to preserve math formatting when using md2notion to import markdown files to Notion.

Dependencies

md2notion

notion

mistletoe

notion and mistletoe are likely already installed if you've ran pip install md2notion.

Usage

See example.py for a boilerplate script to import files from a directory to a Notion page.

Equations

Markdown Result in Notion

Lorem $ a^2 + b^2 = c^2 $ ipsum

Lorem

$$ a^2 + b^2 = c^2 $$

ipsum

Lorem

$$
a^2 + b^2 = c^2
$$

ipsum