From 5bf4ffd1e1b4bc1283ea77ff13ea51f152e93f45 Mon Sep 17 00:00:00 2001 From: fukunee Date: Mon, 18 May 2026 17:23:25 +0800 Subject: [PATCH] image captions, Mermaid responsive styles, and clarify blog content Add responsive Mermaid styles and clarify blog content --- content/blog/mermaid-test.md | 26 -------------------------- layouts/_partials/custom/head-end.html | 23 ++++++++--------------- 2 files changed, 8 insertions(+), 41 deletions(-) diff --git a/content/blog/mermaid-test.md b/content/blog/mermaid-test.md index a576477..88354ad 100644 --- a/content/blog/mermaid-test.md +++ b/content/blog/mermaid-test.md @@ -61,32 +61,6 @@ graph LR C --> D ``` -## Larger flowchart with some styling - -```mermaid -graph TB - sq[Square shape] --> ci((Circle shape)) - - subgraph A - od>Odd shape]-- Two line
edge comment --> ro - di{Diamond with
line break} -.-> ro(Rounded
square
shape) - di==>ro2(Rounded square shape) - end - - %% Notice that no text in shape are added here instead that is appended further down - e --> od3>Really long text with linebreak
in an Odd shape] - - %% Comments after double percent signs - e((Inner / circle
and some odd
special characters)) --> f(,.?!+-*ز) - - cyr[Cyrillic]-->cyr2((Circle shape Начало)); - - classDef green fill:#9f6,stroke:#333,stroke-width:2px; - classDef orange fill:#f96,stroke:#333,stroke-width:4px; - class sq,e green - class di orange -``` - ## SequenceDiagram: Loops, alt and opt ```mermaid diff --git a/layouts/_partials/custom/head-end.html b/layouts/_partials/custom/head-end.html index 382efd3..3f02edd 100644 --- a/layouts/_partials/custom/head-end.html +++ b/layouts/_partials/custom/head-end.html @@ -18,7 +18,7 @@ }); - +