Hello, just had a quick idea while browsing "stackoverflow" and "angeldesk"...
How would you submit and show code snippets in a Cobalt content type? Mainly HTML/PHP/JS/CSS. Is there any mini-editor or geshi thing which allows to create something like that in a Cobalt field? Output should have line# and copy-to-clipboard, raw-display in new window.
Or use a special J! code editor and an HTML field and "geshi"?! But that would lack the copy and new window option.
Any thoughts?
EDIT:
I just found...
The latter is almost what I want, but WITH the need to enter content plugin Syntax. The language type should be made by simple selection on Cobalt submission...
JED! Category - Code Display
Hello, just had a quick idea while browsing "stackoverflow" and "angeldesk"...
How would you submit and show code snippets in a Cobalt content type? Mainly HTML/PHP/JS/CSS. Is there any mini-editor or geshi thing which allows to create something like that in a Cobalt field? Output should have line# and copy-to-clipboard, raw-display in new window.
Or use a special J! code editor and an HTML field and "geshi"?! But that would lack the copy and new window option.
Any thoughts?
EDIT:
I just found...
J! GeSHi plugin... and an interesting add-on called Buttons for GeSHi.
A commercial plugin with special plugin Syntax for each language. JE Code Display - Demo
The latter is almost what I want, but WITH the need to enter content plugin Syntax. The language type should be made by simple selection on Cobalt submission...
JED! Category - Code Display