1# A diagram that doesn't parse doesn't stop the build or the page: it shows2# as its source, with a short note of why, and the rest of the markdown3# renders around it.4. "$(dirname "$0")/../lib.sh"5user dami6repo dami/greet7clone dami dami/greet "$T/w/d"8cat >"$T/w/d/README.md" <<'EOF'9# greet1011```mermaid12flowchart LR13 start[start] -->14```1516Between the diagrams.1718```mermaid19not a diagram <b>at all</b>20```2122After the diagrams.23EOF24at "$T/w/d" commit "first" greet.sh25push_as dami "$T/w/d" origin main26build27p=$FORGE_WWW/dami/greet/index.html28has "$p" '<figure class="diagram-source"><pre><code class="language-mermaid">flowchart LR'29has "$p" ' start\[start\] -->'30has "$p" '<figcaption>Not drawn: Parse error on line 2\.</figcaption></figure>'31has "$p" '<code class="language-mermaid">not a diagram <b>at all</b>'32has "$p" '<figcaption>Not drawn: No diagram type detected for the given text\.</figcaption>'33has "$p" 'Between the diagrams\.'34has "$p" 'After the diagrams\.'35lacks "$p" 'class="pele'