This tool converts Obsidian-style Markdown notes to rich text (RTF) documents. It provides a simple graphical interface built with Gooey and supports:
- Embedded image handling via Obsidian's
![[image.png]]syntax - Automatic image and table resizing in the output RTF
- Intelligent detection of attachment folders based on Obsidian's
.obsidian/app.json
β¨ Designed for users who want quick and consistent exports from their Obsidian vaults.
- β Converts Markdown to RTF
- β Resolves Obsidian-style image links
- β Scales images and tables automatically
- β Provides simple, user-friendly GUI
- β Auto-launches output in WordPad
- Python 3.8+
- Pandoc (system-wide install)
- Virtual environment with the following packages:
Gooey==1.0.8.1
pypandoc==1.14
-
Clone or download this repository.
-
Create and activate a virtual environment:
python -m venv .venv .venv\Scripts\activate # Windows
3. **Install Python requirements:**
```bash
pip install -r requirements.txt
- Install Pandoc (required by pypandoc):
winget install pandoc- You can verify installation with:
`pandoc --version`If you want to create a standalone executable using PyInstaller:
pyinstaller --noconfirm --onefile --add-data "pandoc/pandoc.exe;pandoc" --windowed src/md2rtf_gui.pyThis bundles
pandoc.exedirectly with the application. The script dynamically uses the internal copy if running from a PyInstaller bundle.
- User selects a
.mdfile from an Obsidian vault. - The script:
- Locates
.obsidian/app.json - Detects the image store path
- Adjusts image links in Markdown
- Converts the result to
.rtf - Resizes images/tables
- Opens the RTF in WordPad
- Locates
