Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Formatting Code with dp.SyntaxHighlighter

I've run across a cool syntax highlighter for use on web sites called dp.SyntaxHighlighter. It highlights (and more) the following languages:

  1. C#
  2. CSS
  3. C++
  4. Delphi
  5. Java
  6. JavaScript
  7. PHP
  8. Python
  9. Ruby
  10. SQL
  11. Visual Basic
  12. XML / HTML

Not only that, but it does a fantastic job of rendering too.. check out this little snippet of C# code.

You have to install some javascript(s) and styles along with your blog engine, but once that's done, all you have to do to get the output you see here is wrap your code in some <textarea> tags.

 -Brendan
 

 


Posted 11-08-2006 1:15 PM by Brendan Tompkins
Filed under:

[Advertisement]

Comments

Derik Whittaker wrote re: Formatting Code with dp.SyntaxHighlighter
on 11-08-2006 8:03 PM

Brendan,

This is pretty cool.  Should make posting code much easier.

Thanks,

Ewen wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-06-2008 11:44 AM

very cool

social bookmarking submission wrote re: Formatting Code with dp.SyntaxHighlighter
on 01-19-2013 12:11 AM

cioW8y Thanks so much for the post.Really looking forward to read more. Really Cool.

buy generic cialis wrote re: Formatting Code with dp.SyntaxHighlighter
on 01-26-2013 6:16 PM

yKW7wS Great blog.Thanks Again.

loss weight pills wrote re: Formatting Code with dp.SyntaxHighlighter
on 01-31-2013 10:20 AM

BOGkcn I really liked your article post. Fantastic.

pills for weight loss wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-01-2013 12:29 PM

9ws6XT I cannot thank you enough for the blog article.Much thanks again. Really Great.

buy viagra online wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-02-2013 6:04 PM

Sl7h0w Great, thanks for sharing this article.Much thanks again. Great.

buy viagra wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-02-2013 7:54 PM

9CfzC8 Very good blog article.Really thank you! Awesome.

http://bestmedicineonline.info wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-13-2013 9:37 PM

FXD4Qi Very good blog article.Really looking forward to read more. Keep writing.

buy cialis wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-24-2013 6:38 AM

ScySe4 Thanks for sharing, this is a fantastic blog.Thanks Again. Want more.

buy stendra online wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-24-2013 3:21 PM

I1GbmT Fantastic article post.Much thanks again. Want more.

clomiphene 25 mg wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-27-2013 2:37 PM

bcL0MP Thank you for your post. Awesome.

generic clomid wrote re: Formatting Code with dp.SyntaxHighlighter
on 02-28-2013 2:23 AM

C5kIjC Im thankful for the article.Thanks Again. Cool.

buy discount viagra online wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-02-2013 7:43 PM

xHQjH3 Major thankies for the post. Cool.

buy viagra online wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-02-2013 8:10 PM

1DCWtO Awesome post.Much thanks again. Much obliged.

bookmaring service wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-13-2013 1:59 PM

qoE4im Fantastic blog.

social bookmarks wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-13-2013 11:45 PM

SZtnyt Hey, thanks for the blog post. Keep writing.

social bookmarks wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-15-2013 3:24 AM

aRHokt This is one awesome blog article. Much obliged.

Social bookmarks wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-23-2013 9:58 AM

ObU6OI Very neat article.Much thanks again. Will read on...

stoners wrote re: Formatting Code with dp.SyntaxHighlighter
on 04-06-2013 6:33 AM

This is one awesome post. Will read on...

stoners wrote re: Formatting Code with dp.SyntaxHighlighter
on 04-06-2013 1:02 PM

Thank you for your blog.Thanks Again. Want more.

social bookmarking service wrote re: Formatting Code with dp.SyntaxHighlighter
on 06-05-2013 11:51 PM

PLQEBV Thanks-a-mundo for the post.Much thanks again. Awesome.

good social bookmarks wrote re: Formatting Code with dp.SyntaxHighlighter
on 06-21-2013 3:23 PM

go8pwv Great blog post.Really thank you! Great.

buy viagra online cheap wrote re: Formatting Code with dp.SyntaxHighlighter
on 07-23-2013 12:29 PM

Major thanks for the blog.Thanks Again.

buy cialis online cheap wrote re: Formatting Code with dp.SyntaxHighlighter
on 07-24-2013 2:01 PM

I really enjoy the blog article.Really thank you! Want more.

hot news wrote re: Formatting Code with dp.SyntaxHighlighter
on 07-26-2013 10:26 AM

8rHuk3 Looking forward to reading more. Great post.Really thank you! Really Great.

social bookmarks wrote re: Formatting Code with dp.SyntaxHighlighter
on 07-28-2013 4:37 AM

cqnqbr Thanks so much for the blog.Really looking forward to read more. Great.

best news wrote re: Formatting Code with dp.SyntaxHighlighter
on 08-02-2013 10:48 AM

Say, you got a nice blog post. Really Great.

awesome site wrote re: Formatting Code with dp.SyntaxHighlighter
on 11-20-2013 9:05 PM

K0dnLH Muchos Gracias for your article post. Really Great.

horny wrote re: Formatting Code with dp.SyntaxHighlighter
on 12-25-2013 6:26 AM
stunning seo guys wrote re: Formatting Code with dp.SyntaxHighlighter
on 01-20-2014 11:25 AM

4SDYVt Very neat blog.Really looking forward to read more. Cool.

check it out wrote re: Formatting Code with dp.SyntaxHighlighter
on 03-25-2014 2:03 PM

vpBrI7 Thanks so much for the article.Really looking forward to read more.

check this out now wrote re: Formatting Code with dp.SyntaxHighlighter
on 04-05-2014 4:38 AM

LCKn47 Thanks a lot for the article.Really thank you! Really Cool.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)