Tag <code>: how to "correct" publish it ?

Posted by stighy on Stack Overflow See other posts from Stack Overflow or by stighy
Published on 2010-06-05T17:22:34Z Indexed on 2010/06/05 17:32 UTC
Read the original article Hit count: 185

Filed under:

Hi, i'm not sure to explain what i'm looking for.

What's the name of the "source code parser" for publish code, in HTML ? For example, when i write some source code here in stack overflow, system auto-detect the sintax and write "correct" source code in html.

I've noticed that exists the HTML <"code"> tag, but it simply write source code in "courier" font.

So i'm asking you if exists some "external" component that, given a text, parse it out correctly in a HTML page.

Thank you!

© Stack Overflow or respective owner

Related posts about html