- (gmi:write gmi #!optional (port (current-output-port)))procedure
- (gmi:write1 elem #!optional (port (current-output-port)))procedure
gmi:write may be used to write a Gemtext document, represented by gmi.
gmi:write1 may be used to write a Gemtext element, elem, such as a header, a list, &c. This procedure takes care of adding the necessary newlines, no extra work required.
port determines where to write to and is optional (defaults to (current-output-port)).