Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An Emacs major mode for writing BBCode
Emacs Lisp
tag: v1.1.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.md
bbcode-mode.el

README.md

BBCode Mode

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.

BBCode Mode is still a work in progress. 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.

Supported Tags

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.

Common Tags

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
  • [email]: C-c C-t e
  • [gvideo]: C-c C-t g
  • [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
  • [youtube]: C-c C-t y

Font Tags

Key-bindings related to font tags begin with C-c C-f.

Mnemonic:Font’

  • [color]: C-c C-f c
  • [size]: C-c C-f s

List Tags

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

Table Tags

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

Special Tags

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:Special’

  • [attachment]: C-c C-s a

License

GNU General Public License

Something went wrong with that request. Please try again.