Skip to content

Commit

Permalink
build: 👷 Use docker image Marp to build generated markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Neave committed Dec 5, 2023
1 parent d5c1a17 commit 0f3348d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .vscode/tasks.json
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"
}
}
]
}

0 comments on commit 0f3348d

Please sign in to comment.