cmarkprocess
cmarkprocess OPTIONS COMMONMARK_FILE
cmarkprocess is a CommonMark processor. It accepts CommonMark and renders CommonMark to standard out. It implements a series of tranforms operating both on the CommonMark content and front matter that maybe included. The transforms are as follows
@include-text-block
FILENAME CLASSNAME@include-code-block
FILENAME [LANGUAGE]@TagshashTags and
atTags.
Options come as the last parameter(s) on the command line.
Here’s an example of a CommonMark document called
helloworld.md.
---
title: 3rd Hello World
---
# Third Markdown file.
Hello #again!!!! I hope you are a @person!!We can process it with the following Deno command.
deno run --allow-read commonMarkDoc.js helloworld.md
The transformation will be written to standard out.