ralphb Posted September 5, 2015 Share Posted September 5, 2015 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? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted September 7, 2015 Share Posted September 7, 2015 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. 1 Quote Link to comment Share on other sites More sharing options...
RevEng Posted September 8, 2015 Share Posted September 8, 2015 Try adding 1 blank line before and 2 after. And keep in mind the preview or post-edits will eat those spaces, so you'll need to re-add them. A line before the code block. code code code code code code A line after the code block. I agree, it's irritating. Quote Link to comment Share on other sites More sharing options...
ralphb Posted September 8, 2015 Author Share Posted September 8, 2015 (edited) 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! Edited September 8, 2015 by ralphb Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted September 8, 2015 Share Posted September 8, 2015 I use a Horizontal Rule. You can either use the BBCode tool: Then select Horizontal Rule from the dropdown: or just type in [ hr ] (leave out those two spaces of course!). This: Outputs as this: before code code code code code code after 2 Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 17, 2015 Share Posted October 17, 2015 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? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted October 17, 2015 Share Posted October 17, 2015 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. Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 17, 2015 Share Posted October 17, 2015 (edited) 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 October 17, 2015 by carlsson Quote Link to comment Share on other sites More sharing options...
carlsson Posted January 3, 2017 Share Posted January 3, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.