prismjs demo

DEMO of Prism.

Source code of above showing.


<!DOCTYPE html>
<html>
    <head>
        <link href="https://yuis.xsrv.jp/cdn/css/prism.css" rel="stylesheet" />
    </head>
    <body>
        <script src="https://yuis.xsrv.jp/cdn/js/prism.js"></script>
        <pre><code class="language-markup code-toolbar line-numbers ">&lt;p class="red">red text &lt;/p>        </code></pre>
        <pre> <code class='language-markup command-line-prompt '>sudo vim hoge.md              </code>        </pre>
    </body>
</html>