Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portray to HTML #2

Open
JanWielemaker opened this issue May 22, 2014 · 1 comment
Open

Portray to HTML #2

JanWielemaker opened this issue May 22, 2014 · 1 comment

Comments

@JanWielemaker
Copy link
Member

We need a way to make print/1, calling portray/1 to display terms as HTML instead of plain text. For example:

html_portray(Link) :-
    is_uri(Link),
    html(a(href(Link), Link).
@Anniepoo
Copy link
Member

Anniepoo commented May 7, 2016

Would it be good if this was somehow done uniformly with the 'render' directive in SWISH?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants