Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Ok, I'm looking for the name of a website. What this website does is take code in almost any language, and apply color markup to it. Does anyone know the name of this website?

Edit: The specific website that I used had a really good UI. I'm not sure how to describe it, but here goes: The entry text box was on the left side. The UI was very clean and simple.

share|improve this question

closed as off topic by 8088, slhck, Sathya Nov 24 '11 at 13:41

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

6 Answers 6

up vote 5 down vote accepted

I figured it out. I was using Pastie.

share|improve this answer
    
one of my favs as well. I also like codepaste.net which i'll edit into my answer. –  acidzombie24 Dec 9 '09 at 19:51

Pastebin probably also does what you want : you can :

  • paste some piece of code
  • choose the language for syntax coloration
  • have the code be kept for only one day, one month, or forever
  • it has pretty short URLs

For instance, see the portion of PHP code I posted here : http://pastebin.com/m76839502
Will be kept for one month


Else, if your are not looking for a website that keeps your code and allows you to share it, you might take a look at a PHP library called GeSHi -- that one is integrated in many PHP software

share|improve this answer
1  
You have > 10 rep, you can update the URL now. –  hyperslug Aug 1 '09 at 23:52
    
yep, done ^^ thanks! –  Pascal MARTIN Aug 2 '09 at 9:36
    
oopps ^^ sorry about that one ^^ –  Pascal MARTIN Aug 2 '09 at 10:17

i use to use http://rafb.net/paste/ but it went down so i use http://www.pastie.org/ there is also http://www.privatepaste.com/ for code or just plain questions you want up for a long time (or short)

and http://www.codepaste.net has become one of my favs since it tracks all your paste.

share|improve this answer

Robert mentions Pygments in this thread. Was that what you were looking for?

share|improve this answer

To HTML should do what you want.

share|improve this answer

Colorer has as web interface for running files through the parser. Since the library has real grammars for the languages this won't always work properly with incomplete code snippets, but on the other hand can outline errors (such as mismatched tags in XML, or missing braces in C) as well.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.