Create Beautiful And Professional Code Framework For Blog / Website - New Version
![]() |
How To Add Code Box In Blogger Post |
How to add Code Box In Blogger
STEP 1:
<link href='//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/atom-one-dark.min.css' rel='stylesheet'/>
<script src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js'></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('pre').each(function(i, block) {
hljs.highlightBlock(block);
});
});
//]]>
</script>
STEP 2:
If it's CSS
<pre class='css'>
<!-- If the code is CSS -->
</pre>
If it's Javascript
<pre class='javascript'>
<!-- If the code is javascript -->
</pre>
If it's HTML
<pre class='xml'>
<!-- If the code is HTML -->
</pre>
THÔNG TIN THANH TOÁN & DỊCH VỤ:
- Tên tài khoản: Nguyễn Anh Tuấn
- Số tài khoản: 0501000058467
- Ngân hàng TMCP Ngoại thương Việt Nam (Vietcombank) - Chi nhánh Bắc Sài Gòn
- Hỗ trợ cài đặt: fb.com/kequaduongvodanh
- Dịch vụ: Xem chi tiết >>
+ Nhận convert template từ Wordpress
+ Sửa lỗi, nâng cấp template
+ Thiết kế Form Liên hệ từ Google Form