SyntaxHighlighter 挺不错
galeki
posted @ 2009年6月15日 15:16
in RoR
, 4551 阅读
原来经常在使用 Wordpress 的 blog 上看到这个 js 的代码高亮工具,效果确实不错,但是还是没有让我动心。
最近发现 SyntaxHighlighter 2.0 出来了,不仅样式比原来漂亮多了,也支持了 Theme,所以准备移植到 Chito 上来。
原来插件里的“自动代码高亮”将被移除,换成这个 SyntaxHighlighter,由于都是用 <pre> 标签来包围要高亮的代码,所以只要稍加修改就可以使用 SyntaxHighlighter 了。
编辑器中也会加入 SyntaxHighlighter 工具栏。
虽然默认支持的语言不是很多,也没法在编辑器中即时看到高亮效果,但是使用 SyntaxHighlighter 的好处就是可以获得方便的查看、拷贝代码的能力,另外也不会在文章中留下很多高亮样式的代码,便于以后将文章转换成其他格式。
2009年6月15日 19:05
支持用别人的轮子,另:把登陆验证引到单一页面吧,方便firefox用户。
2009年6月15日 20:59
@邱焜: “登陆验证引到单一页面”? 指的是哪个呢?
2009年6月17日 17:01
现在点登陆,firefox记录的url是galeki.is-programmer.com, cookie没有后在别处登陆如qiukun.is…… 不会自动填充密码,所以最好引到www.is-programmer.com/login
2009年6月18日 16:26
@邱焜: 原来是这样,不过这和 chito 实现登录的机制有关,我看看能不能改善一下吧。
2022年2月26日 14:53
Cool you inscribe, the info is really salubrious further fascinating, I'll give you a connect to my scene. usa call forwarding
2022年3月04日 14:17
it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. 인터넷카지노
2022年3月08日 22:29
I use basically superior fabrics : you will discover these products by: Termite Treatment Orlando
2022年3月09日 00:33
Your texts on this subject are correct, see how I wrote this site is really very good. Land Clearing DeLand
2022年9月29日 15:57
Hii firends am pooja sharma The data on your side is extremely great. To bring all the more best help then you can go to our catchphrases and best assistance is given.
2022年9月29日 15:58
In the event that you are searching for autonomous call young ladies , our escorts administration can reach us on the number given on our site to fill your heart with joy significant with top class female escort
2022年9月29日 15:59
In the event that you are searching for autonomous call young ladies , our escorts administration can reach us on the number given on our site to fill your heart with joy significant with top class female escort
2023年3月27日 13:56
It is fine, nonetheless evaluate the information and facts around this correct. promote singles events
2023年3月27日 14:30
In this case you will begin it is important, it again produces a web site a strong significant internet site: Minecraft Server List
2023年3月30日 13:19
Awesome dispatch! I am indeed getting apt to over this info, is truly neighborly my buddy. Likewise fantastic blog here among many of the costly info you acquire. Reserve up the beneficial process you are doing here. Loodgieter Amsterdam
2023年4月05日 17:38
Make the most of mainly premium substances - you will find him or her for: switchgear systems
2023年4月06日 19:41
For many people this is important, so check out my profile: https://www.aitorev.com/
2023年4月06日 19:48
I should assert barely that its astounding! The blog is informational also always fabricate amazing entitys. Ares Taxi
2023年4月06日 19:52
Profit primarily prime quality items -- you can understand them all within: Screen Mirroring on Android
2023年4月06日 19:56
Why do only so much written on this subject? Here you see more. Umrah
2023年4月07日 00:00
Als je op zoek bent naar een betrouwbare en comfortabele manier om vanuit Antwerpen naar de luchthaven te reizen, dan is Mabo Taxi Antwerpen de juiste keuze. Gevestigd in het hart van Antwerpen biedt Mabo Taxi verschillende soorten vervoer aan, waaronder luchthavenvervoer naar Brussels Airport, Charleroi en Schiphol.
2023年4月08日 20:59
Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... Hospital for Gastroenterology in Singapore
2023年4月08日 21:05
In this case you will begin it is important, it again produces a web site a strong significant internet site: rashes on penis
2023年4月08日 21:09
Beaver says I also have such interest, you can read my profile here: How to make a bra
2023年4月08日 21:13
I am interested in such topics so I will address page where it is cool described. Outdoor signs
2023年4月08日 21:17
Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. Percocet Pills For Sale
2023年4月08日 21:21
I personally use them exclusively high-quality elements : you will notice these folks during: ginsmagning
2023年4月08日 21:24
It is very good, but look at the information at this address. heating and cooling manufacturer rep indiana
2023年4月08日 21:28
You ought to basically fantastic not to mention solid advice, which means notice: graphic design eBooks
2023年4月10日 19:37
Such sites are important because they provide a large dose of useful information ... Website kaise banaye
2023年4月10日 19:41
You ought to basically fantastic not to mention solid advice, which means notice: Flight cancellation policy
2023年4月10日 19:45
Acknowledges for paper such a beneficial composition, I stumbled beside your blog besides decipher a limited announce. I want your technique of inscription... önálló nyaraló kiadó balaton
2023年4月10日 19:49
There you can download for free, see the first of these data. servis racunara
2023年4月10日 19:54
This is important, though it's necessary to help you head over to it weblink: technology contracts
2023年4月10日 19:58
Mmm.. estimable to be here in your report or notify, whatever, I repute I should moreover process strong for my have website want I play some salubrious further updated busy in your location. Buy HGH online
2023年4月10日 20:03
Very interesting information, worth recommending. However, I recommend this: BABYDOGE to IDR
2023年4月13日 18:06
There you can download for free, see the first of these data. badezuber mit aussenofen
2023年4月13日 18:45
Acknowledges for paper such a beneficial composition, I stumbled beside your blog besides decipher a limited announce. I want your technique of inscription... Eolia Mansion wedding
2023年4月13日 20:29
it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. Science and Tech news
2023年4月13日 20:36
The most interesting text on this interesting topic that can be found on the net ... Rentenversicherung
2023年4月14日 22:58
It is rather very good, nevertheless glance at the data with this handle. Unique Tiles
2023年4月15日 18:40
Very good topic, similar texts are I do not know if they are as good as your work out. technology contracts
2023年4月15日 18:47
This is very useful, although it will be important to help simply click that web page link: Digital paintings
2023年4月16日 00:55
Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here. Career development
2023年4月16日 01:00
This is very appealing, however , it is very important that will mouse click on the connection: Puretoons Services
2023年4月16日 19:43
Cool you write, the information is very good and interesting, I'll give you a link to my site. positive words
2023年4月16日 19:49
I understand this column. I realize You put a many of struggle to found this story. I admire your process. paypal hosting
2023年4月17日 12:13
It is somewhat fantastic, and yet check out the advice at this treat. Minoxidil pharmacogenetics test
2023年4月17日 15:29
The best article I came across a number of years, write something about it on this page. thunderbird emails to pst
2023年4月17日 16:22
Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... berberrugs
2023年4月17日 17:14
I read this article. I think You put a great deal of exertion to make this article. I like your work. sportwetten
2023年4月18日 00:57
Welcome to the party of my life here you will learn everything about me. Adanalı işadamı
2023年4月18日 00:57
I also wrote an article on a similar subject will find it at write what you think. Adanalı işadamı
2023年4月18日 02:15
It is quite beneficial, although think about the facts when it reaches this target. USATopnews
2023年4月18日 02:21
Below you will understand what is important, the idea provides one of the links with an exciting site: house design
2023年4月18日 18:23
Cool you inscribe, the info is really salubrious further fascinating, I'll give you a connect to my scene. Scaleless Head Ball Python
2023年4月18日 19:06
For many people this is the best solution here see how to do it. new bollywood movies download
2023年4月18日 22:42
Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your rss feed to stay informed of any updates. Instagram promotion
2023年4月20日 16:54
Welcome to the party of my life here you will learn everything about me. sealcoating
2023年4月20日 17:02
Cool you write, the information is very good and interesting, I'll give you a link to my site. Salesforce Manufacturing Cloud
2023年4月20日 17:08
I understand this column. I realize You put a many of struggle to found this story. I admire your process. Birthday cake delivery in Dubai
2023年4月20日 17:12
You ought to basically fantastic not to mention solid advice, which means notice: Career Counsellor in noida
2023年4月28日 13:49
Such sites are important because they provide a large dose of useful information ... leaked onlyfans
2023年4月28日 13:56
I came onto your blog while focusing just slightly submits. Nice strategy for next, I will be bookmarking at once seize your complete rises... what does smma mean
2023年4月28日 14:00
For this web site, you will see our account, remember to go through this info. Eco friendly products in India