Xah Lee, 2009-12-09, 2010-06-20
This is the home page of xbbcode-mode, a emacs major mode for editing BBCode. (BBCode is a lightweight markup language used in online forums.).
Use the Paypal button below and pay $3. In the Paypal description field, put “emacs xbbcode mode”. And i'll pass you the location to download as soon as i got your email. Please be sure to include your correct email address.
I can be contacted at xah@xahlee.org.
The code is licensed by GNU General Public License.
To start the mode, type 【Alt+x xbbcode-mode】. Once you are in bbcode mode, all bbcode tags will be syntax colored.
When you are in xbbcode mode, there is a graphical menu named BBCode.
Press 【Ctrl+c Ctrl+t】 to change the word under cursor into a tag. The command name is xbbcode-insert-tag.
Press 【Ctrl+c Ctrl+h】 to show a list of commonly used bbcode tags. (command name is xbbcode-show-bbcode-help.)
Here's a example of output:
[b]bold[/b] [i]italic[/i] [u]underline[/u] [s]strike-thru[/s] [url]http://example.com/[/url] [quote]something[/quote] [img]http://example.com/cat.jpg[/img] [email]mary@example.com[/email] [quote="mary"]i didn't do it[/quote] [code]x = 5 print x [/code] [size=20]Features[/size] [color=#FF0000]red[/color] [color=FF0000]red[/color] [color=red]red[/color] [color=blue]blue[/color] [color=red][size=20]Want to Save Money?[/size][/color] [list] [*]A list of items [*]with bullets. [/list] [list=1] [*]numbered first item [*]second item [/list] [list=a] [*]first item. Ordered by a, b, c etc. [*]second tiem. [/list]