1# A diagram's syntax error names the line of the diagram it is on, counting2# its front matter and comment lines, and an error at the end names the3# last line. Pele 1.6.0 counts lines in the text it parses, without those,4# plus a newline; lib/diagrams.ts finds the line it means.5. "$(dirname "$0")/../lib.sh"6user dami7repo dami/greet8clone dami dami/greet "$T/w/d"9cat >"$T/w/d/README.md" <<'EOF'10# greet1112```mermaid13---14title: Push15---16%% the hooks, in order17flowchart LR18 push --> pre19 pre --> -->20```2122```mermaid23flowchart LR24 push --> pre -->25```26EOF27at "$T/w/d" commit "first" greet.sh28push_as dami "$T/w/d" origin main29build30p=$FORGE_WWW/dami/greet/index.html31eq "$(grep -o '<figcaption>Not drawn: [^<]*' "$p" | sed 's/<figcaption>//')" 'Not drawn: Parse error on line 7.32Not drawn: Parse error on line 2.'