=CODE()

22 views
Skip to first unread message

Lucas

unread,
Sep 11, 2025, 12:06:17 AMSep 11
to py4web
hello one and all,

so the =CODE() helper under gluon.html processed the code into a very readable set of high lighted spans and a table with line numbering that aligned properly etc.

while =CODE() helper under yatl.helpers has none of that.  it is just a straight html tag.  

and I've been dancing around with CodeMirror and highlight javascript libraries and they just do NOT do as good as a job as gluon.html.CODE()

oh man.  Lucas

Massimo DiPierro

unread,
Sep 11, 2025, 12:38:18 AMSep 11
to Lucas, py4web
Try https://prismjs.com/ it is one of my favorites. 

--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/323fa45e-d5f1-4677-adc2-344842a37197n%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages