https://github.com/ejmr/bbcode-mode.git
git clone 'git://github.com/ejmr/bbcode-mode.git'
This project adds support for writing Bulletin Board Code in
GNU Emacs. To use the mode all you need to do is place the
file in your load-path
and then add (require 'bbcode-mode)
to your
Emacs configuration file.
When sending bug reports please include the value of
bbcode-mode-version-number
and, if you have cloned the official Git
repository, the commit hash of the version you are using.
There are other modes for BBCode already out there, so if you do not find this mode to you liking then you may prefer the ones by Jason McBrayer and Xah Lee.
Below is a list of all the tags BBCode Mode supports. It also lists the key-bindings to insert those tags. If you have a selected region then BBCode Mode will wrap the tag around the region.
Each key-binding has three parts. They all begin with C-c
. The
second part indicates the ‘group’ to which the binding belongs. And
the third part is a single letter named after the actual tag. Each
section below provides a mnemonic to help remember the second part.
Key-bindings for common tags begin with C-c C-t
.
Mnemonic: Tag
[b]
: C-c C-t b
[center]
: C-c C-t n
[code]
: C-c C-t c
[del]
: C-c C-t d
[email]
: C-c C-t e
[i]
: C-c C-t i
[img]
: C-c C-t m
[quote]
: C-c C-t q
[s]
: C-c C-t s
[u]
: C-c C-t u
[url]
: C-c C-t l
Key-bindings related to font tags begin with C-c C-f
.
Mnemonic: Font
[color]
: C-c C-f c
[font]
: C-c C-f f
[size]
: C-c C-f s
Key-bindings for list tags begin with C-c C-l
.
Mnemonic: List
[li]
: C-c C-l i
[list]
: C-c C-l l
[ol]
: C-c C-l o
[ul]
: C-c C-l u
[*]
: C-c C-l *
Mnemonic: Table
Key-bindings for table tags begin with C-c C-b
.
[table]
: C-c C-b t
[td]
: C-c C-b d
[th]
: C-c C-b h
[tr]
: C-c C-b r
These are tags which are uncommon in BBCode and may even be unique to
specific websites. These key-bindings all begin with C-c C-s
.
Mnemonic: Secial
[attachment]
: C-c C-s a
[gvideo]
: C-c C-s g
[manual]
: C-c C-s m
[wiki]
: C-c C-s w
[youtube]
: C-c C-s y