This commit is contained in:
Jakob Gegeniger committed 2026-08-28 16:08:48 +02:00
commit 579ad0914d
3 files changed
+48

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build AsciiDoc PDF",
"type": "shell",
"command": "docker",
"args": [
"run",
"--rm", // autoremove after exit
"-v",
"${fileDirname}:/documents",
"-w",
"/documents",
"asciidoctor/docker-asciidoctor",
"asciidoctor-pdf",
"-r", "asciidoctor-kroki",
"-a", "allow-uri-read",
"-a", "kroki-default-format=png",
"-a", "pdf-theme=custom-theme.yml",
"${fileBasename}"
],
"group": "build"
}
]
}