Did you know ...
Search Documentation:
Predicate message_lines_to_html/3
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
ext
pengines
pengines.pl -- Pengines: Web Logic Programming Made Easy
term_to_json.pl
pengines_io.pl -- Provide Prolog I/O for HTML clients
message_hook/3
pengine_writeln/1
pengine_nl/0
pengine_tab/1
pengine_flush_output/0
pengine_write_term/2
pengine_write/1
pengine_writeq/1
pengine_display/1
pengine_print/1
pengine_write_canonical/1
pengine_format/1
pengine_format/2
pengine_listing/0
pengine_listing/1
message_lines_to_html/3
send_html/1
binding_term//3
pengine_io_predicate/1
pengine_bind_io_to_html/1
show_html_hook/1
pengines_sandbox.pl -- Declare Pengine interaction sandbox-safe
message_lines_to_html
(+MessageLines, +Classes, -HTMLString)
is
det
Helper that translates the
Lines
argument from
user
:message_hook/3
into an HTML string. The HTML is a <pre> object with the class
'prolog-message'
and the given
Classes
.