astro

a POSIX shell compatible gemini client (mirror of https://github.com/blmayer/astro)
git clone https://git.clttr.info/astro.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 5ed6bd3972ade3315fa90ff6a44d0be11e28dc0f
parent bc9ab5796bdadefa31ef2274fd233fc7f33abdb0
Author: Brian Mayer <bleemayer@gmail.com>
Date:   Thu,  2 Feb 2023 00:43:55 -0300

Merge pull request #31 from rnwgnr/fix-rendering

fix text rendering when preformat identifier is used inline
Diffstat:
Mastro | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/astro b/astro @@ -177,7 +177,7 @@ typesetgmi() { do line="$(echo "$line" | tr -d '\r')" # shellcheck disable=SC2016 - echo "$line" | grep -q '```' && pre=$((1 - pre)) && line="" + echo "$line" | grep -q '^```' && pre=$((1 - pre)) && line="" # Add margins and fold if [ "$pre" = 1 ]