# highlight R syntax in wordpress using wp-codebox

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

**YGC » R**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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 their blog:**YGC » R**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.