From 7f3232d47ae0d47ca1176dba87ed498b08f17bbf Mon Sep 17 00:00:00 2001 From: Salim B Date: Sat, 12 Aug 2023 02:32:05 +0200 Subject: [PATCH] Use proper font in GoAT diagrams --- .../_markup/render-codeblock-goat.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 layouts/_default/_markup/render-codeblock-goat.html diff --git a/layouts/_default/_markup/render-codeblock-goat.html b/layouts/_default/_markup/render-codeblock-goat.html new file mode 100644 index 0000000..d2e6219 --- /dev/null +++ b/layouts/_default/_markup/render-codeblock-goat.html @@ -0,0 +1,18 @@ +{{ $width := .Attributes.width }} +{{ $height := .Attributes.height }} +{{ $class := .Attributes.class | default "" }} +
+ {{ with diagrams.Goat .Inner }} + + {{ .Inner }} + + {{ end }} +