create-content
v0.0.4
Published
Script to create easy docs from templates for blog post, documentation page, or from your own template.
Downloads
1
Maintainers
Readme
create-content
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
- Create and save new template per project (or globally)
- Create new content file based on the new template.
Contributing
Clone this repository
Install dependencies
npm install
Develop
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
- Run
Maintained by Maya Shavin