From the Mind of Bob

What I think, what I hear, what I see

One of the most tragic things I know about human nature is that all of us tend to put off living. We are all dreaming of some magical rose garden over the horizon instead of enjoying the roses that are blooming outside our windows today.

Dale Carnegie

New Mermaid Test

2026-02-04 Test Mermaid Bob Ossler

Using Mermaid Markdown Syntax in Hugo

I am trying out the newest version of Mermaid, and also a new way to set it up within Hugo. Instead of the shortcode I setup from the previous article, I have created a code block render hook, as found in the Hugo documentation on the Hugo Website.

I have written a markdown code block of type Mermaid, to render the diagram found below…

  sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail!
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!

Click Continue to see the rendered diagram

Continue reading

I believe the world is incomprehensibly beautiful – an endless prospect of magic and wonder.

Ansel Adams

Love is that condition in which the happiness of another person is essential to your own.

Robert A. Heinlein
Older posts