From 001e04ea98cc0485ed93ef95e8b5e0a863f97fea Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 19 Oct 2024 05:35:11 -0700 Subject: [PATCH] theme(fix): set GoAT diagram font size to 1rem Fixes #645 --- .../_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..22f57ea --- /dev/null +++ b/layouts/_default/_markup/render-codeblock-goat.html @@ -0,0 +1,18 @@ +{{ $width := .Attributes.width }} +{{ $height := .Attributes.height }} +{{ $class := .Attributes.class | default "f5" }} +
+ {{ with diagrams.Goat .Inner }} + + {{ .Inner }} + + {{ end }} +