~chambln/gmi

bd3b48c72ac8e6c77c4ceb8049f72e1cb856d12f — Gregory Chamberlain 18 days ago a041626
gmi2md: Don’t interpret links in preformatted text
2 files changed, 10 insertions(+), 3 deletions(-)

M README.md
M contrib/gmi2md
M README.md => README.md +3 -3
@@ 42,9 42,9 @@ See gmi(1).

Pro tip: Keep your bookmarks as Gemtext links in a ‘bookmarks.gmi’ file.  Here are some examples to get you started:

``` A list of bookmarks written as Gemtext links
* [Project Gemini homepage](http://gemini.circumlunar.space/)
* [Home page for this project, gmi](http://cosine.blue/gmi/)
```
=> gemini://gemini.circumlunar.space/ Project Gemini homepage
=> gemini://cosine.blue/gmi/ Home page for this project, gmi
```

## Known issues

M contrib/gmi2md => contrib/gmi2md +7 -0
@@ 18,6 18,13 @@ while IFS= read -r line; do
            esac
            ;;

        '```'*)
            printf '```\n'
            while read -r line; do
                printf '%s\n' "$line"
                case $line in '```') break; esac
            done
            ;;
        *)
            printf '%s\n' "$line"
            ;;