boostnote.io python data handler(importer / exporter)
- moniwiki
- gollum
Using export_to_md.py, you can export BOOSTNOTE markdown to normalized markdown.
It remove ':storage' and ':note' link and add front-meta(PANDOC) headings.
It support below attachment link types,
- LinkRelativePath
- CopyToMarkdownPath
- CopyToMarkdownSubPath
from boostnote.base import Boostnote
from boostnote.exporter.markdown import export_boostnote
from boostnote.exporter.exporting_rules import AttachPathType
source_path = 'c:/temp/boostnote'
target_path = 'c:/temp/boostnote_export'
boostnote = Boostnote([source_path])
storage = boostnote.storages['Default0']
export_boostnote(storage, target_path, AttachPathType.CopyToMarkdownPath)
- adding unittest and migration examples