Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This script converts backup files from Drafts into Markdown format and exports each draft as a separate Markdown file. You can then import these files into Obsidian or any other Markdown note-taking app.

Features

  • Reads JSON data from a *.draftsExport file.
  • Converts backup file into Markdown format.
  • Exports each draft as an individual Markdown file.

Requirements

  • Python 3.x

Usage

  1. Ensure Python 3 is installed on your system.
  2. Place your backup file in the same directory as this script.
  3. Run the script python drafts2md.py.
  4. Enter the name of the backup file when prompted, for example, "DraftsExport-2024-01-01-21-01.draftsExport".
  5. The script will export each draft into separate Markdown files, naming each file based on the creation time of the corresponding draft. For example, 2018-05-06-23-13-20-1.md.

License

This project is licensed under the MIT License.

About

This script converts backup files from Drafts into Markdown format and exports each draft as a separate Markdown file

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages