Course lesson
Introduction to the remark CLI
You can use the remark CLI to inspect the AST, run plugins, or lint your markdown documents. It can be used in your build scripts to generate HTML or ensure your markdown style guide is adhered to.
- Duration
- 1 min
- Access
- Free
- Transcript
- Available
You can use the remark CLI to inspect the AST, run plugins, or lint your markdown documents. It can be used in your build scripts to generate HTML or ensure your markdown style guide is adhered to.
- Inspect the AST:
remark document.md --inspect - Use a plugin:
remark document.md --use toc - Overwrite your document after the plugin runs:
remark document.md --use toc -o - Lint a document:
remark document.md --frail --use preset-lint-markdown-style-guide