@mermaid-js/mermaid-cli 8.14.0 → 9.0.2

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
@@ -79,6 +79,12 @@ mmdc -h
79
79
  docker pull minlag/mermaid-cli
80
80
  ```
81
81
 
82
+ or pull from Github Container Registry
83
+
84
+ ```sh
85
+ docker pull ghcr.io/mermaid-js/mermaid-cli/mermaid-cli
86
+ ```
87
+
82
88
  or e.g. version 8.8.0
83
89
 
84
90
  ```sh
package/index.bundle.js CHANGED
@@ -266,7 +266,7 @@ const parseMMD = /*#__PURE__*/function () {
266
266
  });
267
267
  yield page.pdf({
268
268
  path: output,
269
- printBackground: backgroundColor !== 'transparent',
269
+ omitBackground: backgroundColor === 'transparent',
270
270
  width: Math.ceil(clip.width) + clip.x * 2 + 'px',
271
271
  height: Math.ceil(clip.height) + clip.y * 2 + 'px',
272
272
  pageRanges: '1-1'
@@ -274,7 +274,7 @@ const parseMMD = /*#__PURE__*/function () {
274
274
  } else {
275
275
  yield page.pdf({
276
276
  path: output,
277
- printBackground: backgroundColor !== 'transparent'
277
+ omitBackground: backgroundColor === 'transparent'
278
278
  });
279
279
  }
280
280
  }