summaryrefslogtreecommitdiff
path: root/pygments/styles/friendly.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-05-03 18:23:03 +0200
committergbrandl <devnull@localhost>2007-05-03 18:23:03 +0200
commite130dbff2eb591c7cdca4a0bef90b63502cd3d4e (patch)
treefcb7f3140464f1be96ff5a119c154b3ace677df4 /pygments/styles/friendly.py
parent2af8e713b4d89c8961c419db4818f11d43030643 (diff)
downloadpygments-e130dbff2eb591c7cdca4a0bef90b63502cd3d4e.tar.gz
[svn] Add whitespace filter. Add a few more filter unit tests.
Diffstat (limited to 'pygments/styles/friendly.py')
-rw-r--r--pygments/styles/friendly.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/styles/friendly.py b/pygments/styles/friendly.py
index b1e95037..95ee3b37 100644
--- a/pygments/styles/friendly.py
+++ b/pygments/styles/friendly.py
@@ -11,7 +11,7 @@
from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
- Number, Operator, Generic
+ Number, Operator, Generic, Whitespace
class FriendlyStyle(Style):
@@ -23,6 +23,7 @@ class FriendlyStyle(Style):
default_style = ""
styles = {
+ Whitespace: "#bbbbbb",
Comment: "italic #60a0b0",
Comment.Preproc: "noitalic #007020",
Comment.Special: "noitalic bg:#fff0f0",