Headlines News :

Search This Blog

Home » » Posting (Post) code in Blogger

Posting (Post) code in Blogger

I have some problem in posting my code in blogger because when I publish the result of the code will be display. Example MARQUEE use to move the text when i published it the result if the moving text. I find some solution for this. Follow my simple instruction for this:

1. Just logging your blogger account >> Dashboard >> Layout >> Edit HTML >> then click the box to mark check icon in Expand Widget Templates.

2. Press CTRL+F then search the word below.
<!-- end outer-wrapper -->

3. Paste this code below
<link href='YOUR_GOOGLE_PAGES/SyntaxHighlighter.css' rel='stylesheet'
type='text/css'/>
<script language='javascript' src='YOUR_GOOGLE_PAGES/shCore.js'/>
<script language='javascript' src='YOUR_GOOGLE_PAGES/shBrushCpp.js'/>
<script language='javascript'>
dp.SyntaxHighlighter.BloggerMode();
dp.SyntaxHighlighter.HighlightAll('code');
</script>

4. Then click SAVE TEMPLATE

IF YOU POST NEW POST WITH A CODE MAKE SURE YOU SURE ADD THIS CODE:
<pre name="code" class="Cpp">
...insert code here...
</pre>


If you need converter you can visit this site.
Share this article :
 
Support : Creating Website | Neil Auza | Neil Auza
Copyright © 2016. Bohol Educational Supplies - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger