https://github.com/googlearchive/code-prettify
Google Prettify Supported Code Languages The following code languages are supported for syntax highlighting based on their associated file extensions. “bsh”, “c”, “cc”, “cpp”, “cs”, “csh”, “cyc”, “cv”, “htm”, “html”, “java”, “js”, “m”, “mxml”, “perl”, “pl”, “pm”, “py”, “rb”, “sh”, “xhtml”, “xml”, “xsl"
//Show all line numbers
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 {
list-style-type: decimal!important
}
//Modify Font Size
.prettyprint {
font-size: 12px !important;
}
//Decrease the padding around the line numbers
ol.linenums {
padding-left: 25px !important;
}
//Show all line numbers
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 {
list-style-type: decimal!important
}
//Modify Font Size
.prettyprint {
font-size: 12px !important;
}
//Decrease the padding around the line numbers
ol.linenums {
padding-left: 25px !important;
}
댓글
댓글 쓰기