diff options
author | blackbird <devnull@localhost> | 2006-12-21 22:10:34 +0100 |
---|---|---|
committer | blackbird <devnull@localhost> | 2006-12-21 22:10:34 +0100 |
commit | f86e5908ca4c35bcbe8fe25ba839ff5c9a7a9f34 (patch) | |
tree | 98237a777c718b58116b68e7643c79e76acf10f8 /pygments/styles | |
parent | 95377ce6c229ec8cb1df8e358337fc524b8476c8 (diff) | |
download | pygments-f86e5908ca4c35bcbe8fe25ba839ff5c9a7a9f34.tar.gz |
[svn] implemented filters for pygments (first approach, api might change), it's impossible at the moment to add filters by using pygmentize
Diffstat (limited to 'pygments/styles')
-rw-r--r-- | pygments/styles/autumn.py | 1 | ||||
-rw-r--r-- | pygments/styles/borland.py | 1 | ||||
-rw-r--r-- | pygments/styles/colorful.py | 1 | ||||
-rw-r--r-- | pygments/styles/default.py | 1 | ||||
-rw-r--r-- | pygments/styles/friendly.py | 1 | ||||
-rw-r--r-- | pygments/styles/manni.py | 1 | ||||
-rw-r--r-- | pygments/styles/murphy.py | 1 | ||||
-rw-r--r-- | pygments/styles/native.py | 1 | ||||
-rw-r--r-- | pygments/styles/pastie.py | 3 | ||||
-rw-r--r-- | pygments/styles/perldoc.py | 1 | ||||
-rw-r--r-- | pygments/styles/trac.py | 5 |
11 files changed, 14 insertions, 3 deletions
diff --git a/pygments/styles/autumn.py b/pygments/styles/autumn.py index 0e9c64d2..1862c3ad 100644 --- a/pygments/styles/autumn.py +++ b/pygments/styles/autumn.py @@ -21,6 +21,7 @@ class AutumnStyle(Style): styles = { Comment: "italic #aaaaaa", Comment.Preproc: "noitalic #4c8317", + Comment.Special: "italic #0000aa", Keyword: "#0000aa", Keyword.Type: "#00aaaa", diff --git a/pygments/styles/borland.py b/pygments/styles/borland.py index e6c14b19..b798ebe0 100644 --- a/pygments/styles/borland.py +++ b/pygments/styles/borland.py @@ -21,6 +21,7 @@ class BorlandStyle(Style): styles = { Comment: 'italic #008800', Comment.Preproc: 'noitalic', + Comment.Special: 'noitalic bold', String: '#0000FF', Number: '#0000FF', diff --git a/pygments/styles/colorful.py b/pygments/styles/colorful.py index 0e3bc5e6..f542d3fc 100644 --- a/pygments/styles/colorful.py +++ b/pygments/styles/colorful.py @@ -21,6 +21,7 @@ class ColorfulStyle(Style): styles = { Comment: "#888", Comment.Preproc: "#579", + Comment.Special: "bold #cc0000", Keyword: "bold #080", Keyword.Pseudo: "#038", diff --git a/pygments/styles/default.py b/pygments/styles/default.py index 277c323f..a7ba6eb8 100644 --- a/pygments/styles/default.py +++ b/pygments/styles/default.py @@ -25,6 +25,7 @@ class DefaultStyle(Style): styles = { Comment: "italic #008800", Comment.Preproc: "noitalic", + Comment.Special: "noitalic bold", Keyword: "bold #AA22FF", Keyword.Pseudo: "nobold", diff --git a/pygments/styles/friendly.py b/pygments/styles/friendly.py index af983909..e6762091 100644 --- a/pygments/styles/friendly.py +++ b/pygments/styles/friendly.py @@ -22,6 +22,7 @@ class FriendlyStyle(Style): styles = { Comment: "italic #60a0b0", Comment.Preproc: "noitalic #007020", + Comment.Special: "noitalic bg:#fff0f0", Keyword: "bold #007020", Keyword.Pseudo: "nobold", diff --git a/pygments/styles/manni.py b/pygments/styles/manni.py index 61e041fc..1f99ad1f 100644 --- a/pygments/styles/manni.py +++ b/pygments/styles/manni.py @@ -24,6 +24,7 @@ class ManniStyle(Style): styles = { Comment: 'italic #0099FF', Comment.Preproc: 'noitalic #009999', + Comment.Special: 'bold', Keyword: 'bold #006699', Keyword.Pseudo: 'nobold', diff --git a/pygments/styles/murphy.py b/pygments/styles/murphy.py index 425a1683..82ae6d15 100644 --- a/pygments/styles/murphy.py +++ b/pygments/styles/murphy.py @@ -21,6 +21,7 @@ class MurphyStyle(Style): styles = { Comment: "#666 italic", Comment.Preproc: "#579 noitalic", + Comment.Special: "#c00 bold", Keyword: "bold #289", Keyword.Pseudo: "#08f", diff --git a/pygments/styles/native.py b/pygments/styles/native.py index 057e66ce..2f1e6576 100644 --- a/pygments/styles/native.py +++ b/pygments/styles/native.py @@ -23,6 +23,7 @@ class NativeStyle(Style): Comment: 'italic #999999', Comment.Preproc: 'noitalic bold #cd2828', + Comment.Special: 'noitalic bold #e50808 bg:#520000', Keyword: 'bold #6ab825', Keyword.Pseudo: 'nobold', diff --git a/pygments/styles/pastie.py b/pygments/styles/pastie.py index a6b3a444..3cfe781d 100644 --- a/pygments/styles/pastie.py +++ b/pygments/styles/pastie.py @@ -23,6 +23,7 @@ class PastieStyle(Style): styles = { Comment: '#888888', Comment.Preproc: 'bold #cc0000', + Comment.Special: 'bg:#fff0f0 bold #cc0000', String: 'bg:#fff0f0 #dd2200', String.Regex: 'bg:#fff0ff #008800', @@ -41,7 +42,7 @@ class PastieStyle(Style): Name.Exception: 'bold #bb0066', Name.Function: 'bold #0066bb', Name.Property: 'bold #336699', - Name.Module: 'bold #bb0066', + Name.Namespace: 'bold #bb0066', Name.Builtin: '#003388', Name.Variable: '#336699', Name.Variable.Class: '#336699', diff --git a/pygments/styles/perldoc.py b/pygments/styles/perldoc.py index 300d8d25..8cd21a93 100644 --- a/pygments/styles/perldoc.py +++ b/pygments/styles/perldoc.py @@ -24,6 +24,7 @@ class PerldocStyle(Style): styles = { Comment: '#228B22', Comment.Preproc: '#1e889b', + Comment.Special: '#8B008B bold', String: '#CD5555', String.Heredoc: '#1c7e71 italic', diff --git a/pygments/styles/trac.py b/pygments/styles/trac.py index 158b1f82..df28045a 100644 --- a/pygments/styles/trac.py +++ b/pygments/styles/trac.py @@ -21,6 +21,7 @@ class TracStyle(Style): styles = { Comment: 'italic #999988', Comment.Preproc: 'bold noitalic #999999', + Comment.Special: 'bold #999999', Operator: 'bold', @@ -37,8 +38,8 @@ class TracStyle(Style): Name.Class: 'bold #445588', Name.Exception: 'bold #990000', Name.Namespace: '#555555', - Name.Variable: '#ff99ff', - Name.Constant: '#ff99ff', + Name.Variable: '#008080', + Name.Constant: '#008080', Name.Tag: '#000080', Name.Attribute: '#008080', Name.Entity: '#800080', |