Source

highlight / index.html

<html>
    <head>
        <title>Pygmentizer</title>
        <style>
            body {
                font-family: Georgia;
                font-size: 1.4em;
                margin: 10px;
                padding: 5px;
                border: 3px solid black;
            }

            a {
                text-decoration: none;
            }

            a:hover {
                background: silver;
            }
        </style>
    </head>
    <body>
        <h3>Pygmentizer</h3>
        <p>
            A service to syntax hightlight your code using 
            <a href="http://pygments.org">Pygments</a>.
        </p>
        <p>
        Using the site is very simple (view the source of <a
            href="/demo">demo</a>):
            <ul>
                <li>
                    Add <code class="highlight lang=html">&lt;link
                        type="text/css" href="http://localhost:8080/css"
                        rel="stylesheet" /&gt;</code> to your document
                    <code>&lt;head&gt;</code> section.
                </li>
                <li>
                    Mark your code section with <code>highlight lang=python</code>
                    class.
                </li>
                <li> Add a call to <code>http://localhost:8080/js</code> in your
                    page.
                </li>
            </ul>
        </p>
        <hr />
        <p>
            Copyrights &copy; 2010 <a href="mailto:miki@mikitebeka.com">Miki
                Tebeka</a>.
        </p>
    </body>
</html>