Code – Indent Lines
-
I’m a developer and like to put use ‘code’ tags in posts. Most code is indented from line to line although HTML ignores these indents/tabs, what’s the easiest way to post file with lots and lots of indents? As it is now, wordpress ignores indents/spaces I put inside of block blogs at the beginning of lines.
I know I can setup a style to indent one line but lets say I’m posting a java file with 10 levels of idents… I really don’t want to wrap every single line with a different block level. Ideally, I’d like some way for the text inside the ‘code’ block to be fixed width including spaces and line breaks. Anyone have any ideas?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Code – Indent Lines’ is closed to new replies.