-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: 👷 Use docker image Marp to build generated markdown
- Loading branch information
Peter Neave
committed
Dec 5, 2023
1 parent
d5c1a17
commit 0f3348d
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build HTML", | ||
"type": "shell", | ||
"command": "docker run --rm -v .:/home/marp/app/ -e LANG=$LANG marpteam/marp-cli awsproducts.md", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "Build PDF", | ||
"type": "shell", | ||
"command": "docker run --rm --init -v .:/home/marp/app/ -e LANG=$LANG marpteam/marp-cli awsproducts.md --pdf", | ||
"group": { | ||
"kind": "build" | ||
} | ||
}, | ||
{ | ||
"label": "Build PowerPoint", | ||
"type": "shell", | ||
"command": "docker run --rm --init -v .:/home/marp/app/ -e LANG=$LANG marpteam/marp-cli awsproducts.md --pptx", | ||
"group": { | ||
"kind": "build" | ||
} | ||
}, | ||
{ | ||
"label": "Watch and built HTML", | ||
"type": "shell", | ||
"command": "docker run --rm --init -v .:/home/marp/app/ -e LANG=$LANG -p 37717:37717 marpteam/marp-cli -w awsproducts.md", | ||
"group": { | ||
"kind": "build" | ||
} | ||
} | ||
] | ||
} |