lifecraft-md
v1.1.1
Published
Convert Lifecraft exports to markdown files
Downloads
5
Readme
lifecraft-md
Convert Lifecraft exports to markdown files
Features
- Convert
.lifecraftex
exports to dated markdown files - Add entry metadata as YAML on top of markdown files (Jekyll-like)
- Flatten metadata only to the important informations
- Move attachments to folder of entry
- Embed images in markdown files
Usage
npm install -g lifecraft-md
Convert a .lifecraftex
export to markdown:
lifecraft-md my-export.lifecraftex
Advanced usage
Convert Lifecraft exports to markdown files
USAGE
$ lifecraft-md [EXPORT]
ARGUMENTS
EXPORT Lifecraft export file in .lifecraftex format
OPTIONS
-e, --[no-]embed Embed attachments as images in markdown
-f, --flatten Flatten the metadata
-h, --help Show usage
-m, --metadata Prepend entry metadata as YAML before markdown
-o, --outdir=outdir [default: out/] Output directory of conversion result
-v, --version show CLI version
Disclaimer
lifecraft-md
is by no means feature-complete to convert every bit from Lifecraft but is rather a good headstart over copy and pasting every exported entry into markdown files manually.