• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inserting Code?

 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I copy and paste a snippet of code (in order to ask a question), without the code losing its formatting (e.g. indentation, tab spacing, etc.)?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the UBB "CODE" tags. On the editing screen, look below the big textarea and you'll see a bunch of buttons; one button says "CODE". Push it to create a set of CODE tags. Put your code in between those tags, and any formatting will be preserved.
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic