Home Comments Thread
New Thread

5 Comments

giscus-bot giscus-bot 2022-12-16 21:03:14
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?

yihui yihui 2022-12-16 21:03:18

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

giscus-bot giscus-bot 2022-12-16 21:03:19
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 :)

giscus-bot giscus-bot 2022-12-16 21:03:15
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 :)

yihui yihui 2022-12-16 21:03:18

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

giscus-bot giscus-bot 2022-12-16 21:03:16
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:)

giscus-bot giscus-bot 2022-12-16 21:03:17
Guest *Kay Cichini* @ 2012-02-11 19:39:07 originally posted:

Hi there,
I'm afraid the link to the script is dead!
Kay

yihui yihui 2022-12-16 21:03:20

 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

yihui yihui 2022-12-16 21:03:21
  1. do you have shBrushR.js installed?
  2. can you show me a link to the page that it does not work?

Originally posted on 2012-04-18 19:15:58

Sign in to join the discussion

Sign in with GitHub