Skip to content

cosnomi/sb2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sb2md

This repository was forked from hogashi/sb2md.
The original code transforms scrapbox to general-purpose markdown, using scrapbox-parser.

Though Obsidian accepts normal-flavored markdown files, there are a few tips that make the notes look sophisticated.

With the aim of generating more Obsidian-friendly yet still valid markdown, I made slight modifications to the original code which include

  • Updating some Markdown syntax for a better look in Obsidian (wiki link, TeX, tab indent, etc.)
  • Relinking the image attachments (Links to image are replaced with links to 03_Attachments/<filename>)
  • Renaming notes so they don't cause an error in the file system (e.g., colon (:))

Usage

  1. Download your scrapbox data as a json file
  2. Run npm run build
  3. Run node dist/index.js <your_file>.json
  4. The converted markdown files will be saved to output/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published