From: Paul Hänsch Date: Wed, 13 Aug 2025 05:18:41 +0000 (+0200) Subject: Squashed 'cgilite/' changes from 71de6234..b7f8f3d1 X-Git-Url: https://git.plutz.net//?a=commitdiff_plain;h=5ccbbd6916b322172755444695ed35b45c15f175;p=shellwiki Squashed 'cgilite/' changes from 71de6234..b7f8f3d1 b7f8f3d1 bidirectional arrows git-subtree-dir: cgilite git-subtree-split: b7f8f3d15c709eae4dc6457d2e550a918573ff10 --- diff --git a/markdown.awk b/markdown.awk index 60599af..0ad72f4 100755 --- a/markdown.awk +++ b/markdown.awk @@ -360,6 +360,9 @@ function inline( line, LOCAL, len, text, code, href, guard, ret ) { } else if ( line ~ /^-->( |$)/) { # ignore multidash-arrow ret = ret "-->"; line = substr(line, 4); continue; + } else if ( line ~ /^<->( |$)/) { + ret = ret "↔"; line = substr(line, 3); + continue; } else if ( line ~ /^<-( |$)/) { ret = ret "←"; line = substr(line, 3); continue;