Dear all readers!

Our programming topics will moved to GEEKSSHIP.COMGEEKSSHIP.COM is a new developer community for Vietnamese Developers and developers from all over the world. It supports multiple  languages and can store all edited versions of a topic. GEEKSSHIP.COM is really a new generation of developer community.

 

Thưa tất cả bạn đọc!

Tất cả các bài viết về chủ đề lập trình SFI.VN Team sẽ chuyển sang website GEEKSHIP.COM. GEEKSSHIP.COM là một thế hệ cộng đồng dành cho lập trình viên mới cho Việt Nam và các lập trình viên trên toàn thế giới. GEEKSSHIP.COM hỗ trợ đã ngôn ngữ và nó sẽ lưu tất cả các phiên bản của một chủ đề để có thể tham khảo ngược. GEEKSSHIP.COM thực sự là điểm đến mới của cộng đồng lập trình viên!

 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

ngocmanhnguyen posted on March 20, 2010 21:04

If you usually using blog (Windows Live, Blogger, Wordpress, TypePad...) and you're a developer you will need a very useful plugin for your blog is SyntaxHighlighter.

Customize your Options:

How to Use

1. Your Blog Space Settings

1. Upload the SyntaxHighlighter files on your weblog space.

  • dp.SyntaxHighlighter/Scripts
  • dp.SyntaxHighlighter/Styles

2. Add JavaScript and CSS to your weblog page.

  1. <link type="text/css" rel="stylesheet" href="Styles/SyntaxHighlighter.css"></link>  
  2. <script language="javascript" src="Scripts/shCore.js"></script>  
  3. <script language="javascript" src="Scripts/shBrushCSharp.js"></script>  
  4. <script language="javascript">  
  5. window.onload = function() {   
  6.     dp.SyntaxHighlighter.ClipboardSwf = 'Scripts/clipboard.swf';   
  7.     dp.SyntaxHighlighter.HighlightAll('code');   
  8. };   
  9.  </script>  

shCore.js is necessary. You can add only other shBrush{language name}.js that needed.

2. Windows Live Writer Settings

  1. Install the SyntaxHighlighter for Windows Live Writer plugin.
  2. Update weblog style. You can update style from menu "Weblog"-"Edit Weblog Settings..." and "Editing" tab.

3. How to Insert Code

  1. You can insert code from sidebar or menubar.

Supports language: C, C++, C#, CSS, Delphi, HTML, Java, JavaScript, PHP, Pascal, Python, Ruby, SQL, VB, VB.NET, XML, XSLT.

Download the last version here.

Goodluck! ;))

kick it on DotNetKicks.com

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Page List

    Calendar

    «  September 2010  »
    MoTuWeThFrSaSu
    303112345
    6789101112
    13141516171819
    20212223242526
    27282930123
    45678910
    View posts in large calendar

    Recent Comments

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2010 SFI.VN Team