Tistory

Tistory 에서 코드 예쁘게 출력하기

간즁 2015. 9. 3. 00:24

출처 : http://blog.gaerae.com/2015/09/google-code-prettify.html

 

 

<SCRIPT src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?lang=java&lang=sql&skin=desert"></SCRIPT>
 <PRE class=prettyprint linenums>class Voila {
    public:
        // Voila
        static const string VOILA = "Voila";}
</PRE>

 

의 결과물

 

class Voila {
    public:
        // Voila
        static const string VOILA = "Voila";
}