View Single Post
Old 11-30-2015, 11:00 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,839
Karma: 207000000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you paste html code into book view, it will do the escaping necessary to render them. In code view you would have to use entities manually to represent the the < and > characters. Either way, you will have to use styles to do any colors and/or highlighting.

There is no handy-dandy tag to present code in xhtml (in all renderers). Those are typically forum or blog (or other rendering engine) plugins that allow posts to present code in an easy manner (on THAT particular platform).
DiapDealer is offline   Reply With Quote