hello-md-gen
v0.0.2
Published
[package-005] π Hello MD Gen π
Downloads
1
Maintainers
Readme
hello-md-gen
boilerplate from modern-npm-package
Get Started
π 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"
CLI messages
π« Please enter your name
- Name is required for directory settings. You need to set username first. (it will be saved later in the config.json file)
β
Created 2024-04-01.md
- Created a new md file at
/docs/your-name/
byyyyy-mm-dd.md
β
Configuration saved
- New configuration is saved in config.json
π« "docs/dusunax/2024-04-01.md" already exists π
- Today's TIL file is already exist.