summaryrefslogtreecommitdiff
path: root/pygments/formatters/bbcode.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-02-12 23:38:46 +0100
committerGeorg Brandl <georg@python.org>2007-02-12 23:38:46 +0100
commit0678bc4fea71984ab19ab082cb711d772796fae3 (patch)
tree7813371046f03132d690b8556c857fc453e6c9b6 /pygments/formatters/bbcode.py
parentb62d1dc031f5201870c2466882da8f625a015cf3 (diff)
downloadpygments-git-0678bc4fea71984ab19ab082cb711d772796fae3.tar.gz
[svn] Quite a few things:
- new pygmentize options, -F for filters and -H for detail help. - an automatically-created formatter map - better HTML formatter subclassing
Diffstat (limited to 'pygments/formatters/bbcode.py')
-rw-r--r--pygments/formatters/bbcode.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pygments/formatters/bbcode.py b/pygments/formatters/bbcode.py
index 57112d77..0496b463 100644
--- a/pygments/formatters/bbcode.py
+++ b/pygments/formatters/bbcode.py
@@ -18,7 +18,7 @@ __all__ = ['BBCodeFormatter']
class BBCodeFormatter(Formatter):
"""
- Formats tokens with BBcodes. These formatting codes are used by many
+ Format tokens with BBcodes. These formatting codes are used by many
bulletin boards, so you can highlight your sourcecode with pygments before
posting it there.
@@ -41,6 +41,9 @@ class BBCodeFormatter(Formatter):
If set to true, add a tag to show the code with a monospace font
(default: ``false``).
"""
+ name = 'BBCode'
+ aliases = ['bbcode', 'bb']
+ filenames = []
def __init__(self, **options):
Formatter.__init__(self, **options)