Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How to upload code in highlighted syntax

code highlighted syntax programming forum questions how to upload

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 Alcamech

Alcamech

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 181 posts

Posted 23 March 2013 - 04:54 AM

How do I upload code in a highlighted syntax , I know there is a " < >" button to input your code but every time I use it it doesn't show the highlighted syntax .



#2 KodeKool

KodeKool

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 276 posts

Posted 23 March 2013 - 05:54 AM

ya, that won't parse in the editor. but if you follow the form that pops up in the window. the code will be syntax highlighted when you make the post. 

 

example:

  1. Click <>
  2. pick code type(recommended)
  3. choose line number(recommended)
  4. write code(required)
<?php
print 'this is an example of highlighted code';
?>

 

 

now when it first displays in the text editor it won't be highlighted. however once you hit the post button your code will be parsed and displayed as highlighted syntax

 

Hope this helps :)


~A program will always do what you tell it to do, and seldom what you want it to do~

Check out my latest PHP tutorial


#3 Alcamech

Alcamech

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 181 posts

Posted 23 March 2013 - 09:11 AM

Thank you 






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download