Norvell's Public Machinations

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

    1.1.2 • Public • Published

    Create Markdown Blog

    Create a markdown blog file using the CLI

    Install

    To use once:

    npx create-md-blog
    

    To use as a dev dependency on a particular project:

    npm install --save-dev create-md-blog
    npm md-blog
    

    Install globally:

    npm install --global create-md-blog
    md-blog
    

    Command Line Options

    Usage: md-blog [options]
    
    Options:
      -s, --standalone             Create a standalone file instead of a blog
                                   directory
      --no-standalone
      --mdx                        Create MDX file (default: false)
      -a, --author <author entry>  Author of the blog post
      -t, --title <title>          Title of the blog
      --slug <slug>                Slug path of the blog file
      --tags <tags...>             Specify tags
      -p, --prompt-new-tags        Prompt to add new tags (default: false)
      -d, --date <blog date>       Date posted for the blog
      -h, --help                   display help for command
    

    Any unspecified options will be prompted:

    ✔ Create a standalone file?
    (Yes if you're not including other files like images) › no
    ✔ Who is creating this blog? › charles
    ✔ Title of the blog … Example blog
    ✔ URL slug for the blog … example-blog
    ✔ Pick existing tags › nice
    ✔ Date of blog › May 23 2022
    Created blog directory blog/2022-05-23-example-blog and index.md file
    

    Install

    npm i create-md-blog

    DownloadsWeekly Downloads

    6

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    16 kB

    Total Files

    17

    Last publish

    Collaborators

    • cbebe