Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Revisiting Formatting..A plead for HTML in Programmer's Certification forum  RSS feed

 
Rick Reumann
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May I suggest something that would really help out the Programmer's Certification forum...
I suggest UBB Code is turned off and HTML formatting allowed. Then at the bottom of each post you allow maybe a quick link called "code" but it put's <.PRE> (spelled wrong in case this forum allows html) </.PRE> tags in place of the UBB code. This would help out because formatting would remain the same as it does with the UBB [.CODE] tags except that now the font size wouldn't be reduced *AND* the user would be able to cut and paste the code into any IDE without worrying about losing the line returns.
This would help so much. Is there any reason for htis option to not be open?
Thanks,
Rick
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rick
One of the problems wiht that would be all of the people who dont use the ubb code tage now (they wouldn't use the html pre tag either) and when they post code without either tag then if html is turned on the - it'll become even more gibberish.
If you want to cut and paste someones code and keep the line returns click the 'reply with quote' icon and then copy the code out of the text box on the reply page.
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) The PRE html tag will also reduce the size, so that will not be helpful.

2) Turning off UBB Code will not help anything relating to this thread.

3) Turning html on will cause a return to the problem that parentheses are not allowed inside < marks. In other words, you would never be able to write
for ( i = 0 ; i < 10 ; i++ ) in your post without getting an error which would prevent you from posting it (which is why we turned html off in the first place).
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer to this thread about using html in forums where code is posted for more details.
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also refer to this thread in this forum where we are discussing the same topic concurrently.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!