remove_comments l
returns l
without OMD comments.
remove_endline_comments l
returns l
without OMD endline-comments.
preprocess_functions
contains the list of preprocessing functions
preprocess l
returns l
to which all preprocessing functions
(in reference preprocess_functions
) have been applied.
flag: output HTML but without HTML tags, so it's not really HTML anymore.
flag: set on the command line, used for instanciating the functor Omd_parser.Make
flag: set on the command line, used for instanciating the functor Omd_parser.Make
flag: set on the command line, used for instanciating the functor Omd_parser.Make
flag: for multiple dashes in HTML comments, replace dashes by -
patch_html_comments l
returns the list l
where
all Html_comments s
have been converted to Html_comments s'
,
where s'
means s
with dashes replaced by - except for
single dashes (which are left untouched).
N.B. It seems that it's not valid to have double dashes inside HTML comments (cf. http://validator.w3.org/check). So one way to make life somewhat easier is to patch the comments and transform inner dashed to -.
tag_toc l
returns l
where *Table of contents* has been replaced
by a tag that can generate a table of contents.
main function