Brandon: More new features
Ok, so I got a little creative, and implemented some simple tags to make editing posts and comments a little easier.

I think the regex's and recursion works decently now. And I implemented a code tag, so here is a short tutorial on how to make this new stuff work.

HTML still works, I may remove it at some point due to security concerns, but, I'm lazy, so probably not.

Code:


Vent2's quick and dirty BBCode hack.

[b]text[/b] - [b] - Bold

[i]text[/i] - [i] - Italic

[img]http://pathto.img[/img] - [img] - Image, place path to image within the [img][/img] tags

[url]http://www.site.url[/url] - [url] Creates a link to the location between the [url][/url] tags.

[url="http://www.site.url"]Link[/url] = [url] Creates a link to the site with the name contained between the tags

[quote]Quote[/quote] - [quote] Quotes text.

[quote="Brandon"]Quote[/quote] - [quote] - Quotes text and attribues the quote to the name in quotes.

[code]Code!
- Code:

 - The code block, to show off code and stuff.


Also, HTML does not work inside [code] blocks, for example.

<a href="http://www.sevensoupcans.com/vent2">Vent</a>


So, some quick examples
Bold text with Italics inside the tag

Quote Darth Vader
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO


Vent 2

Ok: I am done, I promise


Comments (9)