lifecraft-md
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

lifecraft-md oclif Version Downloads/week License

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.

Readme

Keywords

Package Sidebar

Install

npm i lifecraft-md

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

24.7 kB

Total Files

11

Last publish

Collaborators

  • ketrwu