want BBCode library ?? |
[eluser]Le Bang[/eluser]
I want a library BBcode high-light for programming languages : PHP, C++, Java..ect... Exam: PHP Code: <? Please help me.
[eluser]sankai[/eluser]
if you use the jquery,maybe you can try the js library http://markitup.jaysalvat.com/examples/bbcode/
[eluser]xwero[/eluser]
sankai markitup is not a parser but an editor. What it does is providing a standard way to input content. By clicking on the bold icon the specific mark up of the defined mark up language is added. That is why the plugin was made. With one change in the settings you can make all the editors insert another mark up language. The parsing and converting is done somewhere else.
[eluser]Phil Sturgeon[/eluser]
Dredging this one up. Really want code highlighting on my blog, but cant think of the best way. Should I use [|code syntax="php"], run a preg_match and str_replace the strings after running them through geshi? Seems like a very intensive bit of code to run on my poor CMS. Perhaps I should be storing original text and output text as two separate fields in the db?
|
Welcome Guest, Not a member yet? Register Sign In |