highlight R syntax in wordpress using wp-codebox

October 10, 2010
By

(This article was first published on YGC » R, and kindly contributed to R-bloggers)

Tal Galili’s blog post mentioned that WP-Syntax can highlight R codes. I downloaded the modified version of WP-Syntax in his blog site. The plugin throw an error when activated. I did not try the original version hosted in WordPress.

I found that WP-CodeBox use GeShi for syntax highlighting as WP-Syntax does.I used this plugin when I posted perl codes, but did not found it support R syntax yet.

In Tal’s another blog post, I found that the lang tag must use “rsplus” instead of “r”.

And yes, WP-CodeBox can hightlight R syntax and it works fine as shown in this post.

Related Posts

To leave a comment for the author, please follow the link and comment on his blog: YGC » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , ,

Comments are closed.