SyntaxHighlighter Brush for the R Language | /en/2010/09/syntaxhighlighter-brush-for-the-r-language/
SyntaxHighlighter Brush for the R Language
https://yihui.org/en/2010/09/syntaxhighlighter-brush-for-the-r-language/
https://yihui.org/en/2010/09/syntaxhighlighter-brush-for-the-r-language/
Guest *lfgu* @ 2012-01-29 21:18:01 originally posted:
Thank you for you very nice R highlighter. New version of added your shBrushR.js. Could you tell me one way to use your R highlighter in bbpress?
The key is you have to be able to use class="brush: r" in your pre tag. I believe this can be done by a custom tag like [code][/code] and then you parse this tag to the pre tag with the desired class. I do not know exactly how to do this, but I'm sure this is feasible, since our forum has a custom code tag written by someone else: http://cos.name/cn/.
Originally posted on 2012-01-29 21:58:59
Guest *lfgu* @ 2012-01-29 22:06:21 originally posted:
Thanks for quickly reply, i will test it according to your suggestion. Thanks! Happy new year in china :)
Guest *lfgu* @ 2012-01-29 21:52:16 originally posted:
bbpress_syntax-hiliter didnot support R.
Sourcecode-highlighter-bbpress supports rsplus, but it will report following error during acitving the plugin:
Fatal error: Cannot redeclare class GeSHi in forum/my-plugins/sourcecode-highlighter/geshi.php on line 255
Maybe reqest help in your blog is the best way since i cannot google the answer for the question :)
GeShi is a completely different tool, isn't it? I have never used it in bbPress, so I do not know. If it is about GeShi, I think the best way is to report to bbPress developers.
Originally posted on 2012-01-29 22:01:28
Guest *lfgu* @ 2012-01-29 22:02:04 originally posted:
wp-syntaxhighlighter maybe work well in bbpress which was installed in a way of WordPress's extensive plugin system according to the README of wp-syntaxhighlighter . However i installed stand-alone version of bbPress. tested it, donot work! how?
sorry for posting too much:)
Guest *Kay Cichini* @ 2012-02-11 19:39:07 originally posted:
Hi there,
I'm afraid the link to the script is dead!
Kay
You are right. I just migrated my website from Wordpress to Jekyll, so most of the links in the posts are dead now. I have been trying to fix them. I will do this one soon. Thanks for reminding me!
Originally posted on 2012-02-11 19:54:25
Originally posted on 2012-04-18 19:15:58
Sign in to join the discussion
Sign in with GitHub