Membuat Posting Source Code di Blogger
Membuat Posting Source Code di Blogger
- cara buat tmapilan source code mudah di baca dan dilihat yang pastinya indah hehheh, di bologer kita harus memsaukan code agar tampilannya kaya di notepad ++ kalau orang programer pasti udah ga asing lagi dengan notepad ++ nya kayanya makanan sehari hari deh langsung aja biar cepet
- buka akun blogger kita, kemudian pilih Dashboard-Design-Edit HTML, sebelumnya kita lakukan baiknya di backup dulu ya .
- Kemudian Edit HTML tekan tombol Ctrl-F dan letakkan source code di bawah ini di atas tag </head>
- Kemudian Simpan atw save
- apabila kita ingin posting soure code, kita hanya perlu menyisipkan tag berikut dibawa ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| <link href= "http://alexgorbatchev.com/pub/sh/current/styles/shCore.css" rel= "stylesheet" type= "text/css" /> <link href= "http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css" rel= "stylesheet" type= "text/css" /> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js" type= "text/javascript" ></script> <script src= "http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js" type= "text/javascript" ></script> <script language= "javascript" > SyntaxHighlighter.config.bloggerMode = true ; SyntaxHighlighter.config.clipboardSwf = 'http://alexgorbatchev.com/pub/sh/current/scripts/clipboard.swf' ; SyntaxHighlighter.all(); </script> |
1
2
3
| <pre class = "brush: java" > /*ketikkan source code di sini*/ </pre> |
Sekian tutorial kali ini, semoga bermanfaat :)
0 comments:
Post a Comment