Extend bbcode parser to support markdown and html
Extend the bbcode parser and add various options.
Add configurable support for
- markdown (similar to wiki or github)
- limited html - safe tags, with limited whitelist and blacklist support
- joomla tags
- other options?
While these might end up in separate trackers, I combined them for now to spark some bigger thinking on how to support multiple language options within the Kunena parser
Just a note: It's very easy to support html (even all the tags) in NBBC, but the parser is not good on mixing different tags in one input and the parser is totally useless on markdown and similar syntaxes as it uses tags.
On the other hand supporting markup should be easy..
We might have to extend it. Yes markdown should be easy, so should be html if we limit do a short list of supported html.
The more we make native in our editor/post engine, the easier we can support various things.
I believe that there is already existing class which gives NBBC html support (it also verifies that html is valid)..
Is that part of NBBC that we added or external? (link?)
I'd like to simply hit a couple check boxes in the config to enable the languages admins want to support for their site.
Here's the example: http://nbbc.sourceforge.net/readme.php?page=usage_html
I cannot find the validating code itself anymore.. :(
Sounds like we would need to pick (per post, per user, per whatever we want to) if a piece of text is bbcode or html
markdown we might be able to fit into bbcode. Need to think about this.