Skip to content

boostnote.io python data handler(impoter / expoter)

Notifications You must be signed in to change notification settings

masa4u/pyboostnote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

pyboostnote

boostnote.io python data handler(importer / exporter)

support impoters

  • moniwiki
  • gollum

export to normal markdown

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)

Future Updates

importer

  • adding unittest and migration examples

exporter

About

boostnote.io python data handler(impoter / expoter)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages