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

0.0.2Β β€’Β PublicΒ β€’Β Published

hello-md-gen

GitHub npm version install size npm downloads

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/ by yyyy-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.

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i hello-md-gen

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    12.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • dusunax