boilerplate from modern-npm-package
π Hello MD Gen π
- currently using
template/markdown.md
for the md generator - it generates the following markdown for TIL format at
/docs/your-name/
path
# TIL: {{dateString}} // yyyy-mm-dd
---
## {{title}}, {{username}}
- use command line to generate the markdown file
- need to set up the directory first, by command line
--username
arguments - you can set up the title also.
# CLI
$ npx hello-md-gen
# arguments
--username dusunax
--title "Title Turtle"
- Name is required for directory settings. You need to set username first. (it will be saved later in the config.json file)
- Created a new md file at
/docs/your-name/
byyyyy-mm-dd.md
- New configuration is saved in config.json
- Today's TIL file is already exist.