Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 529e44b

Browse files
committed
Install missing OS dependencies
Missing fonts cause layout issues. Closes #6
1 parent 915607e commit 529e44b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
path: ~/.cache/ms-playwright
4848
key: playwright-${{ hashFiles('package-lock.json') }}
4949
- run: npm ci
50-
- run: npx playwright install
50+
- run: npx playwright install --with-deps
5151
- run: npm test
5252
- uses: actions/upload-artifact@v3
5353
if: always()

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ using [puppeteer](https://pptr.dev).
1111
## Installation
1212

1313
```sh
14-
npm install remark-mermaidjs
14+
npm install remark-mermaidjs
1515
```
1616

17-
Since this package uses Google Chrome, You have to make sure it’s available on your system.
17+
Since this package uses Google Chrome, You have to make sure it’s available on your system. You may
18+
also need to install some additional packages, such as fonts, depending on your system. For more
19+
information, see the Puppeteer
20+
[troubleshooting](https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md) guide.
1821

1922
## Usage
2023

0 commit comments

Comments
 (0)