BBCode Formatter
This is an open discussion with 2 replies, filed under General.
Search
ibb code :)
Some examples might be:
[b]bold[/b]
[i]italic[/i]
[u]underline[u]
[url]http://www.url.com[/url]
[url=http://www.url.com]text here[/url]
[img]http://www.url.com/image.jpg[/img]
[img=http://www.url.com/image.jpg]alt text[/img]
I would think you have thought of these for yourself.
Yeah, that and [quote=whoever/whatever] ... [/quote]
I guess just the basics will do for now, anything specific can be added later.
Create an account or sign in to comment.
I'm currently working on a BBCode formatter with a bit of a twist: it allows a programmer to manage a BBCode snippet in much the same way as you would a HTML document with a JavaScript library like JQuery. Of course, BBCode doesn't need that level of complexity, but now it'll be possible to easily define custom BBCode formats and parse them correctly.
Usage is something like this:
Now, the library isn't ready for release just yet, but it won't be long. What I need to know are what BBCode elements people think should be included by default, even the obvious ones. So, if you're interested, please give some examples of what BBCodes you'd expect to find.
I should be ready for the first release by this weekend.