Converts a whole StackEdit workspace backup from json to separated md files.
- Put your json extraction in the source folder
- (Optional) Change the following const in the code accordingly:
- PATH_OUTPUT_FOLDER (default "target/")
- JSON_INPUT_FILE (default "source/StackEdit workspace.json")
- Remove BOM sequence
Stackedit inserts a BOM sequence on their extract, remove it with dos2unix:Removing a BOM sequencefile -i out.file sudo pacman -Sy dos2unix dos2unix source/StackEdit\ workspace.json
go run StackEditExtractor.go
./StackEditExtractor