Shop OBEX P1 Docs P2 Docs Learn Events
Leading spaces — Parallax Forums

Leading spaces

mynet43mynet43 Posts: 644
edited 2007-05-14 16:34 in General Discussion
I've seen this referred to in other posts, but no good answer.

Would it be possible to remove the 'feature' that deletes leading spaces in the posts.

This way, we could post code that is readable with indented repeat loops, etc.

It makes the code very hard to read without the indents.

Thanks for listening.

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-05-13 23:29
    What you're describing is an HTML feature -- not a forum feature. To make leading spaces visible in your browser, you have to insert a "non-breaking-space". This is done by typing   for each leading space you want to insert. (But if you're trying to preserve indents in programs, you should be using the code feature of the forum, instead.)

    -Phil
  • John R.John R. Posts: 1,376
    edited 2007-05-13 23:29
    I believe if you use the "CODE" tags, you can have indents, etc, like this:

    If you use the "Code" tag
          you can have indents
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John R.
    Click here to see my Nomad Build Log
  • mynet43mynet43 Posts: 644
    edited 2007-05-14 16:34
    Thanks!

    I figured out how to use the CODE command. It's great and it solved my problem.

    It's not well documented...
Sign In or Register to comment.