diff options
author | gbrandl <devnull@localhost> | 2007-02-12 23:38:46 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-02-12 23:38:46 +0100 |
commit | 8ac95bf314343f8db0ec8123296b60aefda8b02f (patch) | |
tree | 7813371046f03132d690b8556c857fc453e6c9b6 /pygments/formatter.py | |
parent | 16b1f0bb0fbc6ea7aab974cb220406632de4c7c0 (diff) | |
download | pygments-8ac95bf314343f8db0ec8123296b60aefda8b02f.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/formatter.py')
-rw-r--r-- | pygments/formatter.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pygments/formatter.py b/pygments/formatter.py index d84e76e6..60848b52 100644 --- a/pygments/formatter.py +++ b/pygments/formatter.py @@ -48,6 +48,15 @@ class Formatter(object): Overrides ``encoding`` if given. """ + #: Name of the formatter + name = None + + #: Shortcuts for the formatter + aliases = [] + + #: fn match rules + filenames = [] + #: If True, this formatter outputs Unicode strings when no encoding #: option is given. unicodeoutput = True |