Syntax Highlighting - 線上語法高亮產生器
Online syntax highlighting
有時候要將 HTML、CSS、Java script 等語法貼到網頁上時,往往無法以顏色標示其重點位置。現在透過Online syntax highlighting工具,可以直接將語法貼上後,線上產生色彩原始碼,只要將這段原始碼貼入自己的網站內,使用者就能夠透過高亮的方式來閱讀這段語法。
Online syntax highlighting目前支援相當多種格式,包括常見的 Java, HTML, CSS, C, C++, PHP, Perl, Python, Ruby 等等語法都可以正確支援和識別顏色。使用方法相當簡單,只要將語法貼入 Source code 的框框內,從右方 Style 挑選欲產生的色彩,Type 部份選擇正確的格式,按下 Highlight 就可完成。同時也會在網頁上產生一個預覽,相當實用。
這是透過Online syntax highlighting產生的範例:
<head> <title>Online syntax highlighting</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="keywords" content="online,syntax,highlighting,colorizer,coloriser,co lorizing,colorising,perl,java,php,csharp" /> <meta name="description" content="Online syntax highlighting for more than 100 l anguages, including C#, Java, PHP, Basic, Perl, Python, Pascal, SQL, JavaScript and others." /> </head>
body { background:#fff; color:#000; line-height:133%; margin:0 1em; padding:0; }
【網站網址】http://tohtml.com/



































good web site!!
谢谢,这个东西很不错
同性質的網站還有這家喔!
之前找程式碼的時候路過的
個人非常推薦!希望有機會讓站長加入資源列表
對程式碼高亮化真的很有幫助XD!
http://www.manoli.net/csharpformat/
很棒喔!謝謝你的提供!