I am late to the party! But hey, each to their own…

My archaic plan of getting fluent in plantUML has failed, mermaid.js.org should do. To be honest, if I had known early on that diagrams.net had plantUML insertion capability, then I might have stuck to it. I also came across D2, but I do not need server-side image generation just yet. Until then mermaid’s ubiquity wins.

So an example is placed below to ensure mermaid integration on my blog blocks Gitlab Pages pipeline. Henceforth, my wacky ASCII diagrams are no more [*].


xychart-beta
    title "Calendar: Gregorian, T: 400 years"
    x-axis "Month" [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec, " "]
    y-axis "Days (mean)" 27.5 --> 31.5
    bar [31, 28.2425, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
xychart-beta title "Calendar: Gregorian, T: 400 years" x-axis "Month" [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec, " "] y-axis "Days (mean)" 27.5 --> 31.5 bar [31, 28.2425, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

Did you know that Gregorian calendar actually cancels leap years every 100 years unless they are multiples of 400?

You have been kindly warned people of the year 2100. Hopefully, WaybackMachine survives that long!

[*]: Not Legally Binding.