亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

javascript實(shí)現(xiàn)代碼高亮

系統(tǒng) 3375 0

9款有用的Javascript代碼高亮腳本

?

Syntax highlighting is very important especially when we want to show our code example on the blog. By enabling the syntax highlighting on the blog, readers can read the code blocks easier.

?

There are a lot of free and useful syntax highlighting scripts around us. Most of the scripts are written using Javascripts, though some of them are powered by other programming languages such as Phyton or Ruby.

?

Today, we are going to look into 9 Syntax Highlighting Scripts that powered by Javascript.

?

1. SyntaxHighlighter

?

I believe this is the most common syntax highlighting script used by most of us. It supports a lot of different languages and you can easily create new “brush” for your language if it is not supported by default. Check out the custom brushes list compiled by Abel Braaksma.
syntax-highlighter

?

2. SHJS

?

SHJS stands for Syntax Highlighting in Javascript. It uses language definations from GNU Source-highlight and support a lot of different programming languages. SHJS has been tested and support major browsers sych as Firefox 2 and 3, IE 6 and 7, Opera 9.6, Safari 3.2 and Chrome 1.0.
shjs

?

3. beautyOfCode

?

beautyOfCode is a jQuery plugin for syntax highlighting. It uses the SyntaxHighlighter scripts by Alex Gorbatchev and makes it more XHTML-compliant.
beauty-of-code

?

4. Chili

?

Chili is a jQuery code syntax highlighting plugin. It comes bundled with recipes for a lot of languages and supports many configuration options.
chili

?

5. Lighter.js

?

Lighter.js is a free syntax highlighting plugin for MooTools. Using lighter.cs is as simple as adding a single script to your webpage.
lighter-js

?

6. Highlight.js

?

highlight.js is easy to use and supports a lot of programming languages. It has some plugins for easily integrations to other CMS, forum or blog.
highlight-js

?

7. DlHighlight

?

DlHighlight is a simple syntax highlighting scripts that supports only 4 programming languages: JavaScript, CSS, XML, HTML.
dlhighlight

?

8. Google Code Prettify

?

Google Code Prettify a Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page. It is the scripts wich powers code.google.com.
google-code-prettify

?

9. JUSH

?

JUSH is yet another jQuery syntax highlighting plugin which supports different programming languages such as HTML, CSS, PHP, PY and SQL.
jush

?

?

來源: http://www.webdesignbooth.com/9-useful-javascript-syntax-highlighting-scripts/

?

?

?

javascript實(shí)現(xiàn)代碼高亮


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦?。?!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 亚洲欧美高清视频 | 91免费福利视频 | 久久久精品视频免费观看 | 欧美日韩免费播放一区二区 | 男人免费网站 | 国产小视频在线播放 | 91手机看片国产永久免费 | 奶交性视频欧美 | 国产日韩亚洲 | 可以免费观看一级毛片黄a 可以直接看的毛片 | 神马影院午夜我不卡 | 极品精品国产超清自在线观看 | 久久精品亚洲一区二区 | 欧美日韩国产人成在线观看 | 四虎1515hhwocw | 日本一级一片免在线观看 | 欧美成人免费 | 色女影院 | 中文字幕天堂久久精品 | 台湾一级毛片免费播放 | 麻豆精品成人免费国产片 | 色婷婷久久免费网站 | 欧美黑人激情性久久 | 国产一在线精品一区在线观看 | 一级一级女人18毛片 | 波多野结衣免费一区二区三区香蕉 | 免费一级特黄 | 欧美日韩午夜视频 | 四虎成人精品在永久免费 | 欧美一级爆毛片 | 中文字幕国产日韩 | 日韩在线欧美在线 | 兽王高清完整在线观看 | 免费一极毛片 | 国内精品久久久久久影院老狼 | 欧美日本黄色 | 午夜日韩在线 | 久久久久久久国产精品毛片 | 成人短视频在线观看 | 日韩视频免费一区二区三区 | 九九伊人网 |