-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Including the building of graphviz within pandoc lead to high build times, which is exactly the problem I wanted to avoid with the move away from mdx-deck
Therefore I was looking for another solution that allows me to reuse code without using NPM. I like other package managers much better, but using them might feel weird, since they are targeted at other programming languages, and I am not really aware of a language-independent package manager. So I decided to just use Git submodules for these files. So I created a separate repository for the shared presentation code including the CSS, JS, and a small markdown file that allows me to test the package independently. There is also a Makefile included that knows how to build the presentation since I also don't want to copy that information into all my presentations (otherwise there might some adapting be necessary every time the package is restructured).
Before explaining the second line, I should probably elaborate a bit on the idea of how to integrate the graphviz images. There is a diagrams folder in each of my presentations, which will contain files with a .dot ending. These files contain the graphviz instructions. make should create a file with a .dot.svg ending for each of the .dot files in the same folder, which in turn can be included in the presentation. So the presentation will include some markdown like this: