mirror of
https://github.com/dunyakirkali/letterpress.git
synced 2025-07-04 07:15:23 +00:00
Enable kroki
This commit is contained in:
parent
4e8f6cde08
commit
ddf73e147f
14
Makefile
14
Makefile
@ -15,17 +15,23 @@ ASCIIDOC_FLAGS = \
|
|||||||
|
|
||||||
all: $(PDF_PATH) $(EPUB_PATH)
|
all: $(PDF_PATH) $(EPUB_PATH)
|
||||||
|
|
||||||
$(PDF_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
|
$(PDF_PATH): book.adoc $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
|
||||||
asciidoctor-pdf book.adoc $(ASCIIDOC_FLAGS) \
|
asciidoctor-pdf book.adoc $(ASCIIDOC_FLAGS) \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
-r asciidoctor-diagram \
|
-r asciidoctor-diagram \
|
||||||
-r asciidoctor-mathematical
|
-r asciidoctor-mathematical \
|
||||||
|
-r asciidoctor-kroki \
|
||||||
|
-a allow-uri-read \
|
||||||
|
--safe-mode server
|
||||||
|
|
||||||
$(EPUB_PATH): $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
|
$(EPUB_PATH): book.adoc $(ASCIIDOC_FILES) $(FIGURES) Makefile metadata.yaml | output
|
||||||
asciidoctor-epub3 book.adoc $(ASCIIDOC_FLAGS) \
|
asciidoctor-epub3 book.adoc $(ASCIIDOC_FLAGS) \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
-r asciidoctor-diagram \
|
-r asciidoctor-diagram \
|
||||||
-r asciidoctor-mathematical
|
-r asciidoctor-mathematical \
|
||||||
|
-r asciidoctor-kroki \
|
||||||
|
-a allow-uri-read \
|
||||||
|
--safe-mode server
|
||||||
|
|
||||||
count:
|
count:
|
||||||
wc -w source/*
|
wc -w source/*
|
||||||
|
@ -11,6 +11,9 @@ Alexandra Thompson <name.lastname@foo.bar>
|
|||||||
:front-image: backgrounds/cover.png
|
:front-image: backgrounds/cover.png
|
||||||
:back-image: backgrounds/back-cover.png
|
:back-image: backgrounds/back-cover.png
|
||||||
:imagesdir: figures
|
:imagesdir: figures
|
||||||
|
:kroki-server-url: https://kroki.io
|
||||||
|
:kroki-fetch-diagram:
|
||||||
|
:kroki-data-uri:
|
||||||
|
|
||||||
include::source/front_matter.adoc[]
|
include::source/front_matter.adoc[]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user