Skip to content

Commit a296cee

Browse files
authored
引数修正
1 parent 7ff9320 commit a296cee

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/GeneratePDF.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: 📝 Generate PDF
5555
run: |
5656
shopt -s globstar
57-
npx md-to-pdf --config-file ./.md-pdf/config.json --launch-options '{ \"args\": [\"--no-sandbox\"] }' ${{ env.NESTED_OUTPUT_DIRECTORY }}/*.md
57+
npx md-to-pdf --config-file ./.md-pdf/config.json --launch-options '{ "args": ["--no-sandbox"] }' ${{ env.NESTED_OUTPUT_DIRECTORY }}/*.md
5858
5959
- name: 🗑 Remove markdown files
6060
run: |

.md-pdf/config.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{ "stylesheet": [ "./.md-pdf/style.css" ], "pdf_options": { "format": "A4", "margin": "10mm", "printBackground": true } }
1+
{
2+
"stylesheet": [
3+
"./.md-pdf/style.css"
4+
],
5+
"pdf_options": {
6+
"format": "A4",
7+
"margin": "10mm",
8+
"printBackground": true
9+
}
10+
}

0 commit comments

Comments
 (0)