Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Module for handling links.
In the returned string, if it is a "local:" link, removes the "local:"
part.
val start :
?url_hook:(string -> string) ->
string list ->
[> `link of t ] * (string -> unit)
Start recording a link, it returns the Stack.environment
element to put in the stack, and new "output" function to write/record the text of the link.
Stop recoring a link, returns the kind of link, the optional target, and the optional link text (already transformed).