Resolved - Change how the code command works
finished on 6Aug2013 - still supports the code=yes command where the entire page is displayed within a read-only textarea box. and also supports the code./code.. so that multiple code fragments can be displayed within the same post of normal text.
began changing this in late June/early July 2013
[[Test post with the new code. and code.. commands]]
22jul2013 - need not to encode lt and gt symbols within code command
[ div class="codecolorer-container lua dawn" style="overflow:auto;white-space:nowrap;" ]
It's too limiting to only say code=yes.
Change to a starting and closing command syntax like with q. and q.. and with tmpl. and tmpl..
So the text within code. and code.. would be displayed either with the html code tag or within a textarea box.
The rest of the text in the post outside of code.-code.. would display as normal. This provides more functionality.
http://stackoverflow.com/questions/14443262/cross-browser-nowrap-textarea
http://projectcerbera.com/web/articles/code-in-pre
http://stackoverflow.com/questions/657795/how-remove-wordwrap-from-textarea
syntax highlighting
From JR's : articles
154 words - 1445 chars
created on
updated on
import date 2013-08-12 21:50:07
- #
source
- versions
Related articles
Resolved - Add commands to embed other media - Jun 27, 2013
Resolved - Change how config data is processed - Jul 22, 2013
Resolved - Add embed github code - Sep 24, 2013
Resolved - Change frontpage command to draft - Jun 27, 2013
Resolved - Fix problem of not being able to save an old version - Sep 05, 2013
more >>