Jump to content
IGNORED

Missing space around code layout


ralphb

Recommended Posts

It seems that I'm the only user on AtariAge whose posts have broken layout.

 

Whenever I include some text using the code layout

code code code
code code code

the surrounding text is way too close to the box. It doesn't even matter how many blank lines I insert in the editor window (in this particular case I used two blank lines each); in the final post spacing is always too tight.

 

This is ... irritating -- as a Python programmer, I'm rather sensitive to whitespace. Others seem to get this right, so I assume that it's my using Chrome on Linux. Any insights on this?

 

Link to comment
Share on other sites

There is always something wrong with Invision's forum software in one way or another. I fix it by doing this:

Whenever I include some text using the code layout, I use a white underscore above and below
_

code code code
code code code

_
so the surrounding text will not be way too close to the box.

  • Like 1
Link to comment
Share on other sites

One line above

code

two lines below ...

 

*sigh* As I said, it seems that I'm the only for whom this doesn't work. :_(

 

But the trick with the white text is great:

 

Above

*

between

*

and below!

 

Thanks for the tips! :thumbsup:

Edited by ralphb
Link to comment
Share on other sites

  • 1 month later...

How do you type in text after a code segment at all? Everytime I try to add text below a code segment, the forum software eats my text which is terribly frustrating. Sometimes I edit my message and retype what I just wrote, above the code segment, sometimes I just give up. Am I the only with this problem?

Link to comment
Share on other sites

How do you type in text after a code segment at all? Everytime I try to add text below a code segment, the forum software eats my text which is terribly frustrating. Sometimes I edit my message and retype what I just wrote, above the code segment, sometimes I just give up. Am I the only with this problem?

 

Have you tried clicking on the BBCode Mode button at the top left above the B (Bold)? I'm always switching back and forth to get things done.

Link to comment
Share on other sites

Hm...

 

 

10 PRINT"THIS IS A CODE BLOCK"
20 GOTO 10

This program works by printing a line of text on line 10, then on line 20 it causes a loop to jump back to line 10.

It will run until the user aborts it, usually with Break, Ctrl-C or similar key combination.

 

Edit: Just because of this, it worked without any issue in this particular example... need to try it in the wild in the future.

Edited by carlsson
Link to comment
Share on other sites

  • 1 year later...

Ok, so the editor again ate half of my message that was located below a code block. Apparently in WYSIWYG mode, that happens more often than not. I keep forgetting to disable WYSIWYG.

 

Is that just me, or a bug in the forum software? Can it be solved? It is very annoying when you wrote a long HOWTO text with code or quote blocks in the middle, and after you post the message, most of the text is gone.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...