SRI: Fixing Security Warnings

Running some static code scanning on my rendered site with Sonarcloud, I found some potential security concerns with how I was loading the mermaid javascript. ...

2022-07-17 · 1 min · 180 words · Ben

Mermaid + Hugo v2: Better, Faster

It took three days after finishing the work to display Mermaid diagrams (using shortcodes) to discover an easier method. Let’s talk a bit about custom markdown rendering! ...

2022-06-26 · (updated 2022-07-18) · 3 min · Ben

Mermaid + Hugo

I learned about Mermaid in 2021 while trying to find a way to better see changes in diagrams at work. Being able to look through a revision history of images was tolerable but only slightly better than the proverbial needle and the unexplained presence of a nearby haystack. But Mermaid resolves my complaints by rendering text/code into fairly nice-looking diagrams and visualizations. Some are too plain for my liking (looking at you, state diagram), but they convey information graphically....

2022-06-23 · (updated 2022-07-13) · 4 min · Ben