md-pipe 0.7.5 → 0.7.6
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/README.md +9 -1
- package/cli-contract.yaml +9 -1
- package/dist/md-pipe.bundle.mjs +53 -41
- package/dist/md-pipe.bundle.mjs.map +3 -3
- package/docs/cli-reference.md +3 -1
- package/package.json +2 -1
package/docs/cli-reference.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
A rendering engine that transforms Markdown manuscripts into HTML/PDF through HTML-comment directives and DOM transformations, without polluting the Markdown source.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
**Version:** 0.7.
|
|
6
|
+
**Version:** 0.7.6
|
|
7
7
|
|
|
8
8
|
## Table of Contents
|
|
9
9
|
|
|
@@ -35,6 +35,8 @@ Converts HTML-comment directives into class/id/attribute-bearing HTML nodes, emb
|
|
|
35
35
|
|---|---|
|
|
36
36
|
| `PUPPETEER_EXECUTABLE_PATH` | Explicitly specify the Chromium executable path. When unset, auto-detects from Puppeteer cache and common install locations.
|
|
37
37
|
|
|
|
38
|
+
| `MD_PIPE_CHROMIUM_ARGS` | Extra command-line flags for the Chromium process the pdf stage starts, separated by spaces; a flag containing a space cannot be expressed. Set --no-sandbox where Chromium cannot create a sandbox, such as a container running as root.
|
|
39
|
+
|
|
|
38
40
|
|
|
39
41
|
### render
|
|
40
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "md-pipe",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "A rendering engine that transforms Markdown to HTML/PDF via directive-driven pipelines",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build": "tsc && tsc -p tsconfig.peer-floor.json",
|
|
12
12
|
"bundle": "node esbuild.bundle.mjs --minify",
|
|
13
13
|
"clean": "rm -rf dist",
|
|
14
|
+
"browser:install": "puppeteer browsers install chrome",
|
|
14
15
|
"test": "vitest run",
|
|
15
16
|
"test:unit": "vitest run test/unit",
|
|
16
17
|
"test:ci": "vitest run"
|