diff --git a/README.md b/README.md index dae718e..5d798b9 100644 --- a/README.md +++ b/README.md @@ -162,12 +162,12 @@ Colors Troubleshooting --------------- -> [!Caution] +> [!CAUTION] > You need the dev script running before running the pdf build script --- -> [!Warning] +> [!WARNING] > `sh: line 1: chromium: command not found` > > [chromium](https://chromium.org) is used for pdf exports diff --git a/package.json b/package.json index 5ed6659..d3e66ae 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "dev": "vite dev", "build": "npm run build:private", "build:vite": "vite build", + "build:screenshot": "chromium --headless --disable-gpu --virtual-time-budget=2000 --screenshot --clip=0,0,780,790 http://localhost:5173", "build:sample": "chromium --headless --disable-gpu --no-pdf-header-footer --print-to-pdf=sample.pdf http://localhost:5173", "build:private": "chromium --headless --disable-gpu --no-pdf-header-footer --print-to-pdf=private.pdf http://localhost:5173/private", "deploy": "vite build --base=/jsonresume-theme-legacy", diff --git a/sample.pdf b/sample.pdf index 34edace..3e65fe7 100644 Binary files a/sample.pdf and b/sample.pdf differ diff --git a/screenshot.png b/screenshot.png index 24e5fdc..eae6093 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/src/components/basics.hbs b/src/components/basics.hbs index 858e4aa..3a7dd0a 100644 --- a/src/components/basics.hbs +++ b/src/components/basics.hbs @@ -11,7 +11,7 @@ -