Legend:
Library
Module
Module type
Parameter
Class
Class type
Implementation of Gemtext, the Gemini own native response format.
Note that if a string containing line breaks (CR or CRLF) is given to functions heading, list_item and quote only the first line will be formatted and the others treated as normal text. To avoid this behavior, see Mehari.paragraph.
open Mehari.Gemtext
let () = assert ([ quote "hello\nworld" ] = [ quote "hello"; text "world" ])