create-content

0.0.4 • Public • Published

create-content

npm version npm download npm license

Create a content file automatically

A CLI tool to auto generate a content file (Markdown, CSV, YAML) based on available templates or customized templates.

Designed especially for working with Nuxtjs and Content module.

Features

  • Create a content file based on an existing templates:

    • Blog post in Markdown format (.md), with YAML formatter blocks to indicate some basic information about the post

      • title
      • description
      • image
      • tags
      • category
      • publishedAt

    Inspired by Nuxt Content's layout

    • Documentation page followed Theme Docs standards in Markdown format (.md), with YAML formatter blocks consisting the following fields:

      • title
      • description
      • position
      • version
      • category
      • fullscreen
      • menuTitle
      • subtitle
      • badge
    • Product info in Markdown format (.md), with YAML formatter blocks to indicate some basic information about the product:

      • title
      • description
      • image
      • price
      • tags
      • category
  • Create new content file manually with the following format:

    • .md - Markdown
    • .csv - CSV
    • .yaml - YAML

Coming soon

  1. Create and save new template per project (or globally)
  2. Create new content file based on the new template.

Contributing

  1. Clone this repository

  2. Install dependencies npm install

  3. Develop

  4. Test in local project using npm link

    • Run npm link
    • Go to the target project, run npm link create-content
    • You now can test if the tool works locally

Maintained by Maya Shavin

Package Sidebar

Install

npm i create-content

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

13 kB

Total Files

13

Last publish

Collaborators

  • mayashavin