Exporting predicates in the code loaded into PEngines via the src_text parameter?

With discourse you can sometimes drop in raw HTML in line, e.g.

test(X) :-
  line 1
  line 2
<code>
test(X) :-<br>
&nbsp;&nbsp;<b>line 1</b><br>
&nbsp;&nbsp;line 2
</code>

Granted you have know HTML and add lots of extra tags such as <br> and &nbsp but it does work.

Here is an example that pushes it to the limit.

1 Like