There are helper functions in Gdn_Format to implement certain types of markup languages but as far as I can tell there are no hooks available to intercept the rendering of comments/conversations/etc. That being said, it looks like we'll have to wait on the Vanilla developers to make time for this extremely essential feature.
there are several bbcodes built in, but i can't tell if it's something to do with the htmlformatter that's messing things up... it worked once for me as i was messing around and i bolded some text, aside from that it hasn't worked.
Basically it's a very quick 'n dirty implementation of BBCode using regular expressions. I would highly suggest avoiding its use like the plague given the potential security flaws.
Yeah, I know about the limits, but currently it is working well enough and I can easily change the implementation. Also I'm not using Gdn_Format in any way.
it seems like it isn't exactly polished though... very glitchy.
also just a note, if you enable bbcodes in the config, as mentioned above, it doesn't apply retroactively... so you might have to twiddle with the format value for each post.
Comments
$Mixed2 = preg_replace("#\[b\](.*?)\[/b\]#si",'\\1',$Mixed2);
Just wait for the developers.
$Configuration['Garden']['InputFormatter'] = 'BBCode';
However, I personally prefer Markdown.
[url]http://example.org[/url]
doesnt work, but
[url=http://example.com]Example[/url]
does work
Anyone know anything about this
also , is there any documentation about the defaults markup in vanilla ?
cheers
justin
it seems like it isn't exactly polished though... very glitchy.
also just a note, if you enable bbcodes in the config, as mentioned above, it doesn't apply retroactively... so you might have to twiddle with the format value for each post.
http://nbbc.sourceforge.net/
BSD Open source licence.