diff options
Diffstat (limited to 'pygments/formatters/bbcode.py')
-rw-r--r-- | pygments/formatters/bbcode.py | 5 |
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) |