
doc_wiki.pl -- PlDoc wiki parserThis file defines the PlDoc wiki parser, which parses both comments and wiki text files. The original version of this SWI-Prolog wiki format was largely modeled after Twiki (http://twiki.org/). The current version is extended to take many aspects from markdown, in particular the doxygen refinement thereof.
wiki_lines_to_dom(+Lines:lines, +Args:list(atom), -Term) is det
wiki_codes_to_dom(+String, +Args, -DOM) is det' ' (space), representing white-space.
The Out variable is input for the backends defined in
doc_latex.pl and doc_html.pl. Roughly, these are terms similar
to what html//1 from library(http/html_write) accepts.
<Alias:Rest>, where
Term is of the form Alias(Rest). If it succeeds, it must bind
HREF to an atom or string representing the link target and Label
to an html//1 expression for the label.
autolink_extension(?Ext, ?Type) is nondet
autolink_file(?File, -Type) is nondet
section_comment_header(+Lines, -Header, -RestLines) is semidetsection(Type, Title), where Title is an atom holding the
section title and Type is an atom holding the text between <>.
summary_from_lines(+Lines:lines, -Summary:list(codes)) is det
indented_lines(+Text:list(codes), +Prefixes:list(codes), -Lines:list) is det
strip_leading_par(+Dom0, -Dom) is det