cancel
Showing results for 
Search instead for 
Did you mean: 

Better code presentation on SDN

Nigel_James
Active Contributor
0 Kudos

I was just browsing around ZEND and php.net as you do when you are involved in sap and php and was taken by the lovely way the php code is presented.

This comment rammed it home fom me:

"PHP code blocks enclosed in the PHP tags <?php and ?> will be source highlighted automatically"

<a href="http://us2.php.net/manual/add-note.php">source</a>

The code enclosed in the code tag, thus:

data: lv_myobject type ref to zcl_myobject.

looks VERY ordinary in comparsion. (particularly on non-ie browsers - in particular Firefox)

Now that we have the editor with lovely code colo<b>u</b>ring. Can we have the website looking just as nice? Please?

Pretty please with a cherry on top?

(Ok I'll stop begging now but it would make the site look better)

Thoughts, comments, seconders, flames?

Nigel

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Another problem with the "Coding" Block, is if you try to copy and paste text within a coding block, say to SE38, the line breaks are not recoginized and you have to manually re-format the source code in SE38. If you don't use the coding block, then cut/paste into SE38 works fine. I think that this should be fixed before anything else.....

Regards,

Rich Heilman

Former Member
0 Kudos

THe line breaks are of course an issue but the code highlighting we are working on - it's going through the final stages now and then will go into extensive Q&A and will be tested thoroughly.

Nigel_James
Active Contributor
0 Kudos

Great news! Looking forward to it.

Answers (0)