Did you know ... Search Documentation:
html_text.pl -- Render HTML as plain text
PublicShow source

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.

Source html_text(+Input) is det
Source 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 or left. Default is justify.

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.

Source html_text(+Input) is det
Source 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 or left. Default is justify.