Start Developer blog
1. highlighting souce code with javascript
테마(Template)에 HTML 편집에서 <head> 부분에 script 추가
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script> </link>
default.min.css 에 원하는 style로 코드 변경
2. How to write code
write in HTML and add tag prefix, suffix
<pre><code class = "Java">
Your Code
</code></pre>
public static void hello() {
System.out.println("Hello World");
}
3. Quick Escape
It's a tool that lets you quickly paste in HTML and for that to be converted to escaped characters - for example converting
<a> to < a>
4. Style Test
public static void hello() {
System.out.println("Hello World");
}
int main(int argc, char *argv[]) {
return -2e3 + 12l;
}
int main(int argc, char *argv[]) {
return -2e3 + 12l;
}