From 4d028fd20ee8f5bf433c33d869dc0244558ece85 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Mon, 18 Oct 2021 19:28:26 +0200 Subject: [PATCH] Fix up the gemtext README --- markup/gemtext/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/markup/gemtext/README.md b/markup/gemtext/README.md index bc8c784c..5a07a6f0 100644 --- a/markup/gemtext/README.md +++ b/markup/gemtext/README.md @@ -6,11 +6,11 @@ an (opinionated) converter to HTML. ## HTML conversion The HTML converter (implemented [here](./convert.go)) generates the following elements: * `p` for any sequence of non-empty text lines, where `br` is used to separate them -* `figure` for preformatted blocks, where the actual preformatted contents are inside a `pre` tag, and the alt text is inside a `figcaption`, if present -* `blockquote for any sequence of quote lines -* `h1`, `h2` and `h3` for header lines -* `ul` for both links and list lines: +* `figure` for preformatted lines, where the actual preformatted contents are inside a `pre` tag, and the alt text, if present, is inside a `figcaption` +* `blockquote` for any sequence of quote lines +* `h1`, `h2` and `h3` for heading lines +* `ul` for both link lines and unordered list items: * Any sequence of non-empty link lines is output as a `ul` element with the `links` class, where each item is an `a` element prepended by a `li` tag - * Any sequence of non-empty list lines is output as a `ul` element with the `items` class, where each item is text prepended by a `li` tag + * Any sequence of non-empty unordered list items is output as a `ul` element with the `items` class, where each item is text prepended by a `li` tag For convenience in testing, a standalone version of the converter is provided [here](./standalone/).