hello-md-log
v0.0.1
Published
[package-006] ๐ Hello MD Log ๐ก
Maintainers
Readme
hello-md-log
boilerplate from modern-npm-package
Get Started
๐ Hello Markdown Log ๐ก
- currently using
template/markdown.mdfor 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
- your name is
github usernameby default, and save inmdconfig.json - you can change name with command line
--usernamearguments or changemdconfig.jsonfile. - you can set up the title with command line
--titleargument or changetemplate/markdown.mdfile.
# CLI
$ npx hello-md-log
# arguments
--username dusunax
--title "Title Turtle"CLI messages
๐ซ Please set up your name first!
- 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.
