aeria-populate
v0.0.29
Published
- `-c --compileMarkdown`: will compile Markdown to HTML before inserting - `-d --dropCollections`: will drop matching collections before inserting - `-w --watch`: watch mode
Readme
aeria-populate
Usage
-c --compileMarkdown: will compile Markdown to HTML before inserting-d --dropCollections: will drop matching collections before inserting-w --watch: watch mode
# when --env-file is applicable
node --env-file .env node_modules/aeria-populate/bin/index.js "content/**/*.md"
# otherwise
npx aeria-populate "content/**/*.md"
npx aeria-populate -c "content/**/*.md"Frontmatter format
---
collection: person
unique: slug
content: description # optional
document:
slug: john-doe
sex: male
---
# John Doe
This will be inserted in the `description` property...