mark-deco-cli 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +1 -1
- package/package.json +11 -11
package/dist/cli.cjs
CHANGED
|
@@ -32475,7 +32475,7 @@ function setupProcessor(config) {
|
|
|
32475
32475
|
}
|
|
32476
32476
|
const program = new commander.Command();
|
|
32477
32477
|
async function main() {
|
|
32478
|
-
program.name("mark-deco-cli").description("MarkDeco - markdown processor").version("0.
|
|
32478
|
+
program.name("mark-deco-cli").description("MarkDeco - markdown processor").version("0.2.0");
|
|
32479
32479
|
program.option("-i, --input <file>", "Input markdown file (default: stdin)").option("-o, --output <file>", "Output HTML file (default: stdout)").option("-c, --config <file>", "Configuration file path").option("-p, --plugins [plugins...]", "Enable specific plugins (oembed, card, mermaid)").option("--no-plugins", "Disable all default plugins").option("--unique-id-prefix <prefix>", "Prefix for unique IDs", "section").option("--hierarchical-heading-id", "Use hierarchical heading IDs", true).option("--content-based-heading-id", "Use content-based heading IDs", false).option("--frontmatter-output <file>", "Output frontmatter as JSON to specified file").option("--heading-tree-output <file>", "Output heading tree as JSON to specified file").action(async (options2) => {
|
|
32480
32480
|
try {
|
|
32481
32481
|
const config = await loadConfig(options2.config);
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mark-deco-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Command-line interface for mark-deco enhanced markdown processor",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"markdown",
|
|
7
|
+
"cli",
|
|
8
|
+
"processor",
|
|
9
|
+
"mark-deco",
|
|
10
|
+
"oembed",
|
|
11
|
+
"frontmatter"
|
|
12
|
+
],
|
|
13
|
+
"author": "Kouji Matsui (@kekyo@mi.kekyo.net)",
|
|
14
|
+
"license": "MIT",
|
|
5
15
|
"bin": {
|
|
6
16
|
"mark-deco-cli": "./dist/cli.cjs"
|
|
7
17
|
},
|
|
@@ -28,16 +38,6 @@
|
|
|
28
38
|
"typecheck": "tsc --noEmit",
|
|
29
39
|
"prepublishOnly": "npm run build && npm run test"
|
|
30
40
|
},
|
|
31
|
-
"keywords": [
|
|
32
|
-
"markdown",
|
|
33
|
-
"cli",
|
|
34
|
-
"processor",
|
|
35
|
-
"mark-deco",
|
|
36
|
-
"oembed",
|
|
37
|
-
"frontmatter"
|
|
38
|
-
],
|
|
39
|
-
"author": "",
|
|
40
|
-
"license": "MIT",
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"commander": "^12.0.0",
|
|
43
43
|
"mark-deco": "file:.."
|