From 900010b413359b77658e42eacf488cd6301fff67 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 20 Apr 2023 23:15:47 -0500 Subject: Hack in Mermaid JS rendering --- Makefile | 5 ----- assets/index_end.html | 2 +- src/queries.h | 16 ++++++++-------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index a7f7cc1..2b48b13 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,6 @@ build: clean: kodev clean rm -rf lib - rm -f assets/static/js/* docker-build: DOCKER_BUILDKIT=1 docker build -t clog . @@ -28,10 +27,6 @@ fetch-dependencies: clean curl -L https://github.com/mity/md4c/archive/refs/tags/release-0.4.8.tar.gz -o lib/md4c-0.4.8.tar.gz tar xf lib/md4c-0.4.8.tar.gz -C lib mv lib/md4c-release-0.4.8 lib/md4c - # mermaidjs - curl -L https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js -o lib/mermaid.min.js - mkdir -p assets/static/js - cp lib/mermaid.min.js assets/static/js run: kodev run diff --git a/assets/index_end.html b/assets/index_end.html index 5c93d38..ba83da5 100644 --- a/assets/index_end.html +++ b/assets/index_end.html @@ -7,7 +7,7 @@
- +