html_text.pl -- Render HTML as plain text
This module renders HTML markup as plain text, just like the open lynx program does. It is (as yet), limited to and spacialized for dealing with the SWI-Prolog documentation. This library first of all supports help/1.
- html_text(+Input) is det
- html_text(+Input, +Options) is det
- Render HTML from Input to
current_output
. Input is either an HTML DOM or a valid input for load_html/3. Options defined are:- margin_left(+N)
- margin_right(+N)
- Initial margins.
- width(+N)
- Total preceived line width.
- text_align(+Align)
- One of
justify
orleft
. Default isjustify
.
Re-exported predicates
The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
- html_text(+Input) is det
- html_text(+Input, +Options) is det
- Render HTML from Input to
current_output
. Input is either an HTML DOM or a valid input for load_html/3. Options defined are:- margin_left(+N)
- margin_right(+N)
- Initial margins.
- width(+N)
- Total preceived line width.
- text_align(+Align)
- One of
justify
orleft
. Default isjustify
.