2 Reference
Parse an input source with the parse function.
Parse the source into a wikitext object.
Returns #t if x is a parsed wikitext object.
You can retrieve the body of the parsed text as an xexpr. The various
creole markup commands are transformed into an HTML-like xexpr, which
can then be processed as desired.
(body wikitext) → (listof xml:xexpr?) |
wikitext : wikitext/c |
Extract the body of the document from the wikitext object.
If there are any keywords in the input text (indicated by
::keyword value),
then these can be retrieved by one of a family of lookup functions:
Retrieve the metadata value corresponding to key key.
If several were specified, they are concatenated.
Retrieve the multiple metadata values corresponding to key,
or an empty list if there was none.
Like lookup, except that, depending on the key,
the value is returned as a parsed object. The only ones treated specially
are 'date and 'updated, which are returned as
SRFI-19 date objects.
Return the list of available keys.
Set a metadata key to have the given value.
This appends the value, so that the value changes for LOOKUP,
but is extended for LOOKUP/MULTIPLE.