md-pipe 0.7.5 → 0.8.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/README.md CHANGED
@@ -35,7 +35,15 @@ PUPPETEER_SKIP_DOWNLOAD=1 npm install -g puppeteer
35
35
  export PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
36
36
  ```
37
37
 
38
- See [docs/cli-reference.md](docs/cli-reference.md) for how the browser is located.
38
+ Where Chromium cannot create a sandbox — a container running as root is the
39
+ usual case — the flags it needs come from the environment too:
40
+
41
+ ```bash
42
+ export MD_PIPE_CHROMIUM_ARGS=--no-sandbox
43
+ ```
44
+
45
+ See [docs/cli-reference.md](docs/cli-reference.md) for how the browser is
46
+ located and what else the environment can say.
39
47
 
40
48
  ## Quick Start
41
49
 
package/cli-contract.yaml CHANGED
@@ -2,7 +2,7 @@ cli_contracts: 0.1.0
2
2
 
3
3
  info:
4
4
  title: md-pipe
5
- version: 0.7.5
5
+ version: 0.8.0
6
6
  description: >
7
7
  A rendering engine that transforms Markdown manuscripts into HTML/PDF
8
8
  through HTML-comment directives and DOM transformations,
@@ -36,6 +36,14 @@ command_sets:
36
36
  Explicitly specify the Chromium executable path.
37
37
  When unset, auto-detects from Puppeteer cache and common install locations.
38
38
 
39
+ MD_PIPE_CHROMIUM_ARGS:
40
+ required: false
41
+ description: >
42
+ Extra command-line flags for the Chromium process the pdf stage starts,
43
+ separated by spaces; a flag containing a space cannot be expressed.
44
+ Set --no-sandbox where Chromium cannot create a sandbox, such as a
45
+ container running as root.
46
+
39
47
  global_options:
40
48
  - name: config
41
49
  aliases: [c]