wwpdb.utils.markdown-wrapper 0.3.dev1__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. wwpdb_utils_markdown_wrapper-1.0.0/.gitignore +110 -0
  2. wwpdb_utils_markdown_wrapper-1.0.0/PKG-INFO +28 -0
  3. wwpdb_utils_markdown_wrapper-1.0.0/pyproject.toml +125 -0
  4. {wwpdb.utils.markdown_wrapper-0.3.dev1 → wwpdb_utils_markdown_wrapper-1.0.0}/wwpdb/utils/markdown_wrapper/__init__.py +1 -1
  5. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/css/markdown/markdown-print.css +95 -0
  6. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/css/markdown/markdown-screen.css +166 -0
  7. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/css/markdown/pygments/default.css +62 -0
  8. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/css/markdown/pygments/github.css +61 -0
  9. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.css +273 -0
  10. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.dark.css +275 -0
  11. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.forest.css +353 -0
  12. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.forest.print.css +353 -0
  13. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.js +59089 -0
  14. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.js-org +59088 -0
  15. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.min.js +30 -0
  16. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.slim.js +49583 -0
  17. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaid.slim.min.js +16 -0
  18. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaidAPI.js +58498 -0
  19. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaidAPI.min.js +26 -0
  20. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaidAPI.slim.js +48993 -0
  21. wwpdb_utils_markdown_wrapper-1.0.0/wwpdb/utils/markdown_wrapper/assets/js/mermaid/mermaidAPI.slim.min.js +16 -0
  22. {wwpdb.utils.markdown_wrapper-0.3.dev1 → wwpdb_utils_markdown_wrapper-1.0.0}/wwpdb/utils/markdown_wrapper/render_markdown.py +71 -72
  23. wwpdb.utils.markdown_wrapper-0.3.dev1/MANIFEST.in +0 -1
  24. wwpdb.utils.markdown_wrapper-0.3.dev1/PKG-INFO +0 -21
  25. wwpdb.utils.markdown_wrapper-0.3.dev1/setup.cfg +0 -10
  26. wwpdb.utils.markdown_wrapper-0.3.dev1/setup.py +0 -64
  27. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb/__init__.py +0 -1
  28. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb/utils/__init__.py +0 -1
  29. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb.utils.markdown_wrapper.egg-info/PKG-INFO +0 -21
  30. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb.utils.markdown_wrapper.egg-info/SOURCES.txt +0 -15
  31. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb.utils.markdown_wrapper.egg-info/dependency_links.txt +0 -1
  32. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb.utils.markdown_wrapper.egg-info/not-zip-safe +0 -1
  33. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb.utils.markdown_wrapper.egg-info/requires.txt +0 -10
  34. wwpdb.utils.markdown_wrapper-0.3.dev1/wwpdb.utils.markdown_wrapper.egg-info/top_level.txt +0 -1
  35. {wwpdb.utils.markdown_wrapper-0.3.dev1 → wwpdb_utils_markdown_wrapper-1.0.0}/README.md +0 -0
  36. {wwpdb.utils.markdown_wrapper-0.3.dev1 → wwpdb_utils_markdown_wrapper-1.0.0}/wwpdb/utils/markdown_wrapper/markdown_render.ini +0 -0
@@ -0,0 +1,110 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ *.egg-info/
24
+ .installed.cfg
25
+ *.egg
26
+ MANIFEST
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ .hypothesis/
48
+ .pytest_cache/
49
+
50
+ # Translations
51
+ *.mo
52
+ *.pot
53
+
54
+ # Django stuff:
55
+ *.log
56
+ local_settings.py
57
+ db.sqlite3
58
+
59
+ # Flask stuff:
60
+ instance/
61
+ .webassets-cache
62
+
63
+ # Scrapy stuff:
64
+ .scrapy
65
+
66
+ # Sphinx documentation
67
+ docs/_build/
68
+
69
+ # PyBuilder
70
+ target/
71
+
72
+ # Jupyter Notebook
73
+ .ipynb_checkpoints
74
+
75
+ # pyenv
76
+ .python-version
77
+
78
+ # celery beat schedule file
79
+ celerybeat-schedule
80
+
81
+ # SageMath parsed files
82
+ *.sage.py
83
+
84
+ # Environments
85
+ .env
86
+ .venv
87
+ env/
88
+ venv/
89
+ ENV/
90
+ env.bak/
91
+ venv.bak/
92
+
93
+ # Spyder project settings
94
+ .spyderproject
95
+ .spyproject
96
+
97
+ # Rope project settings
98
+ .ropeproject
99
+
100
+ # mkdocs documentation
101
+ /site
102
+
103
+ # mypy
104
+ .mypy_cache/
105
+
106
+ # emacs autosave
107
+ *~
108
+
109
+ # Test output
110
+ tests/test-output
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: wwpdb.utils.markdown-wrapper
3
+ Version: 1.0.0
4
+ Summary: wwPDB markdown rendering
5
+ Project-URL: Homepage, https://github.com/wwpdb/py-wwpdb_utils_markdown_wrapper
6
+ Author-email: Ezra Peisach <ezra.peisach@rcsb.org>
7
+ License-Expression: Apache-2.0
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Natural Language :: English
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.6
15
+ Classifier: Programming Language :: Python :: 3.7
16
+ Requires-Python: >=3.8
17
+ Requires-Dist: beautifulsoup4
18
+ Requires-Dist: graphviz
19
+ Requires-Dist: markdown~=3.0
20
+ Requires-Dist: pygments
21
+ Provides-Extra: dev
22
+ Requires-Dist: check-manifest; extra == 'dev'
23
+ Provides-Extra: test
24
+ Requires-Dist: mock; extra == 'test'
25
+ Description-Content-Type: text/markdown
26
+
27
+ # py-wwpdb_utils_markdown_wrapper
28
+ Markdown wrapper for rendering markdown documentation
@@ -0,0 +1,125 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "wwpdb.utils.markdown-wrapper"
7
+ dynamic = ["version"]
8
+ description = "wwPDB markdown rendering"
9
+ readme = "README.md"
10
+ license = "Apache-2.0"
11
+ authors = [
12
+ { name = "Ezra Peisach", email = "ezra.peisach@rcsb.org" },
13
+ ]
14
+ classifiers = [
15
+ "Development Status :: 3 - Alpha",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: Apache Software License",
18
+ "Natural Language :: English",
19
+ "Programming Language :: Python",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.6",
22
+ "Programming Language :: Python :: 3.7",
23
+ ]
24
+
25
+ requires-python = ">=3.8"
26
+
27
+ dependencies = [
28
+ "beautifulsoup4",
29
+ "graphviz",
30
+ "Markdown~=3.0",
31
+ "pygments",
32
+ ]
33
+
34
+ [project.optional-dependencies]
35
+ dev = [
36
+ "check-manifest",
37
+ ]
38
+
39
+ test = [
40
+ "mock"
41
+ ]
42
+
43
+ [project.urls]
44
+ Homepage = "https://github.com/wwpdb/py-wwpdb_utils_markdown_wrapper"
45
+
46
+ [tool.hatch.version]
47
+ path = "wwpdb/utils/markdown_wrapper/__init__.py"
48
+
49
+ [tool.hatch.build.targets.sdist]
50
+ include = [
51
+ "/wwpdb",
52
+ ]
53
+
54
+ [tool.hatch.build.targets.wheel]
55
+ #only-include = ["wwpdb"]
56
+ packages = ["wwpdb"]
57
+
58
+
59
+ #
60
+ #=================================== Ruff basics =============================#
61
+
62
+ line-length = 120 # 120 is hatch's default via 'hatch init'
63
+ include = [
64
+ "*.py", # Source
65
+ "pyproject.toml", # This file (RUF rules only)
66
+ "*.ipynb", # Jupyter notebooks
67
+ ]
68
+
69
+ #
70
+ #=================================== Ruff lint ==============================#
71
+
72
+ [tool.ruff.lint]
73
+
74
+ #
75
+ # ------------------------- Ruff misc. options ----------------------
76
+ preview = true
77
+ explicit-preview-rules = true
78
+
79
+ ignore = [
80
+ "FBT002", # Boolean default positional argument in function definition
81
+ "FURB113", # Use `stPL.extend(...)` instead of repeatedly calling `stPL.append()`
82
+ "N801", # Class name `markdownTests` should use CapWords convention
83
+ "N802", # Function name should be lowercase
84
+ "N803", # Argument name should be lowercase
85
+ "N806", # in function should be lowercase
86
+ "N816", # Variable in global scope should not be mixedCase
87
+ "N999", # Invalid module name,
88
+ "PERF401", # Use a list comprehension to create a transformed list
89
+ "PLW1514", # `open` in text mode without explicit `encoding` argument
90
+ "PT009", # Use a regular `assert` instead of unittest-style `assertGreater`
91
+ "RET504", # Unnecessary assignment to `X` before `return` statement
92
+ "TRY401", # Redundant exception object included in `logging.exception` call
93
+ "UP031" # Use format specifiers instead of percent format
94
+ # "UP008", # Use `super()` instead of `super(__class__, self)`
95
+ ]
96
+
97
+ # -------------------- default environment scripts ------------------
98
+ [tool.hatch.envs.default]
99
+ skip-install = true
100
+ dependencies = ["mypy", "ruff >=0.6.9"]
101
+
102
+
103
+ [tool.hatch.envs.default.scripts]
104
+
105
+ # 'format' formats and fixes issues but does not complain
106
+ format = [
107
+ "ruff format",
108
+ "ruff check --fix-only",
109
+ ]
110
+
111
+ # 'format-python' just excludes Prettier
112
+ format-python = ["ruff format", "ruff check --fix-only"]
113
+
114
+ # 'check' only checks but never fixes
115
+ check = ["ruff check --no-fix .", "mypy --non-interactive --install-types wwpdb tests"]
116
+
117
+ # only checks with ruff (mypy has a lot of false positives)
118
+ check-ruff = "ruff check --no-fix . {args}"
119
+
120
+ # to complement 'check-ruff'
121
+ check-mypy = "mypy --non-interactive --install-types wwpdb tests {args}"
122
+
123
+ # only check security via Bandit; we require these rules to pass
124
+ check-security = "ruff check --select S --no-fix ."
125
+
@@ -2,4 +2,4 @@ __docformat__ = "restructuredtext en"
2
2
  __author__ = "John Westbrook"
3
3
  __email__ = "john.westbrook@rcsb.org"
4
4
  __license__ = "Apache 2.0"
5
- __version__ = "0.3.dev1"
5
+ __version__ = "1.0.0"
@@ -0,0 +1,95 @@
1
+ body, p, li, div, h1, h2, h3, h4, h5, h6, td {
2
+ color: #000000;
3
+ font-family: "Liberation Sans", "Helvetica Neue", Calibri, sans-serif;
4
+ }
5
+ code {
6
+ font-family: "Liberation Mono", Consolas, monospace;
7
+ font-weight: bold;
8
+ }
9
+ pre {
10
+ background: #FFFFFF;
11
+ border: 1px solid #B8C0C4;
12
+ padding: 4px 8px 4px 8px;
13
+ margin: 0px 1em;
14
+ //max-width: 56em;
15
+ white-space: pre-wrap;
16
+ word-wrap: break-word;
17
+ font-family: "Liberation Mono", Consolas, monospace;
18
+ font-weight: normal;
19
+ color: #474747;
20
+ }
21
+ pre code {
22
+ font-family: "Liberation Mono", Consolas, monospace;
23
+ font-weight: normal;
24
+ color: #474747;
25
+ }
26
+ dd {
27
+ margin-bottom: 1em;
28
+ }
29
+ dd p {
30
+ margin-top: 0px;
31
+ }
32
+ dd pre {
33
+ margin: 1em 0px;
34
+ }
35
+ blockquote {
36
+ border-left: 3px solid #B6B6B6;
37
+ margin: 1em;
38
+ padding-left: 1em;
39
+ }
40
+ a {
41
+ text-decoration: none;
42
+ color: #600000;
43
+ }
44
+ a:after {
45
+ content: " (" attr(href) ") ";
46
+ font-size: 90%;
47
+ }
48
+ /* fix for space in list items containing <pre> */
49
+ li p {
50
+ margin-top: 0px;
51
+ }
52
+ li pre {
53
+ margin-bottom: 1em;
54
+ }
55
+ td, th {
56
+ padding: 0.1em 1em;
57
+ }
58
+ /* Metadata Table */
59
+ table#metadata {
60
+ margin: 1em 0em 1em 1em;
61
+ border-collapse: collapse;
62
+ border-top: 1px solid #EDEDED;
63
+ float: right;
64
+ }
65
+ .mda {
66
+ /* metadata attribute */
67
+ border-left: 1px solid #EDEDED;
68
+ border-bottom: 1px solid #EDEDED;
69
+ font-weight: bold;
70
+ vertical-align: top;
71
+ }
72
+ .mdv {
73
+ /* metadata value */
74
+ border-right: 1px solid #EDEDED;
75
+ border-bottom: 1px solid #EDEDED;
76
+ }
77
+ /* Don't print these things */
78
+ .controls {
79
+ display: none;
80
+ }
81
+ #hideButton {
82
+ display: none;
83
+ }
84
+ #showButton {
85
+ display: none;
86
+ }
87
+ #TOC {
88
+ display: none;
89
+ }
90
+ #bigfoot {
91
+ display: none;
92
+ }
93
+ .permalink {
94
+ display: none;
95
+ }
@@ -0,0 +1,166 @@
1
+ body, p, li, div, h1, h2, h3, h4, h5, h6, th, td {
2
+ color: #4C4C4C;
3
+ font-family: "Liberation Serif", "Palatino Linotype", Palatino, serif;
4
+ }
5
+ body {
6
+ margin: 1em 8em;
7
+ }
8
+ h1, h2, h3, h4, h5, h6 {
9
+ font-family: "Liberation Sans", "Helvetica Neue", Calibri, sans-serif;
10
+ //text-shadow: rgba(35, 35, 35, 0.5) 2px 2px 5px;
11
+ }
12
+ .permalink {
13
+ -webkit-transition: opacity 0.5s;
14
+ -moz-transition: opacity 0.5s;
15
+ -o-transition: opacity 0.5s;
16
+ transition: opacity 0.5s;
17
+ opacity: 0;
18
+ visibility: hidden;
19
+ margin: 0 0 0 0.25em;
20
+ }
21
+ h1:hover .permalink, h2:hover .permalink,
22
+ h3:hover .permalink, h4:hover .permalink,
23
+ h5:hover .permalink, h6:hover .permalink {
24
+ opacity: 1;
25
+ visibility: visible;
26
+ }
27
+ @media (max-width: 700px) {
28
+ body, th, td {
29
+ margin: 1em 1em;
30
+ font-size: smaller;
31
+ }
32
+ }
33
+ @media (max-device-width: 480px) {
34
+ body {
35
+ margin: 1em 1em;
36
+ max-width: 56em;
37
+ font-family: "Helvetica Neue", sans-serif;
38
+ font-size: xx-large;
39
+ }
40
+ pre {
41
+ font-size: x-large;
42
+ }
43
+ }
44
+ code {
45
+ font-family: "Liberation Mono", Consolas, monospace;
46
+ font-weight: bold;
47
+ font-size: small;
48
+ }
49
+ pre {
50
+ -webkit-box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px inset;
51
+ -moz-box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px inset;
52
+ -o-box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px inset;
53
+ box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px inset;
54
+ background-color: #EEE;
55
+ border: 1px solid #DDD;
56
+ border-radius: 3px;
57
+ padding: 0.4em;
58
+ margin: 0px 1em;
59
+ // max-width: 70em;
60
+ white-space: pre-wrap;
61
+ word-wrap: break-word;
62
+ font-weight: normal;
63
+ }
64
+ pre code {
65
+ font-weight: normal;
66
+ }
67
+ dd {
68
+ margin-bottom: 1em;
69
+ }
70
+ dt {
71
+ font-style: italic;
72
+ }
73
+ dd p {
74
+ margin-top: 0px;
75
+ }
76
+ dd pre {
77
+ margin: 1em 0px;
78
+ }
79
+ blockquote {
80
+ border-left: 3px solid #B6B6B6;
81
+ margin: 1em;
82
+ padding-left: 1em;
83
+ }
84
+ a {
85
+ text-decoration: none;
86
+ color: #600000;
87
+ -webkit-transition: color 0.4s;
88
+ -moz-transition: color 0.4s;
89
+ -o-transition: color 0.4s;
90
+ transition: color 0.4s;
91
+ }
92
+ a:hover {
93
+ color: #000;
94
+ }
95
+ /* fix for space in list items containing <pre> */
96
+ li p {
97
+ margin-top: 0px;
98
+ }
99
+ li pre {
100
+ margin-bottom: 1em;
101
+ }
102
+ th {
103
+ background-color: #EDEDED;
104
+ }
105
+ td, th {
106
+ margin: 0px;
107
+ padding: 0.1em 1em;
108
+ }
109
+ abbr {
110
+ border-bottom: 1px dashed #CDCDCD;
111
+ }
112
+ /* Table of Contents */
113
+ .controls {
114
+ font-family: "Liberation Sans", "Helvetica Neue", Calibri, sans-serif;
115
+ font-size: smaller;
116
+ color: #CDCDCD;
117
+ cursor: pointer;
118
+ }
119
+ .controls a {
120
+ color: #CDCDCD;
121
+ }
122
+ #TOC {
123
+ -webkit-transition: opacity 1s;
124
+ -moz-transition: opacity 1s;
125
+ -o-transition: opacity 1s;
126
+ transition: opacity 1s;
127
+ padding: 0.5em 0em;
128
+ border-radius: 0.8em;
129
+ background: #EDEDED;
130
+ }
131
+ #TOC li {
132
+ font-family: "Liberation Sans", "Helvetica Neue", Calibri, sans-serif;
133
+ padding: 2px 0px 0px 0px;
134
+ list-style-type: none;
135
+ }
136
+ #TOC ul {
137
+ margin: 0px;
138
+ padding: 0px 0px 0px 1.5em;
139
+ }
140
+ /* Metadata Table */
141
+ table#metadata {
142
+ margin: 1em -1em 1em 1em;
143
+ border-collapse: collapse;
144
+ float: right;
145
+ -webkit-transform: rotate(4deg);
146
+ -moz-transform: rotate(4deg);
147
+ -o-transform: rotate(4deg);
148
+ transform: rotate(4deg);
149
+ background: #FFFED6;
150
+ -webkit-box-shadow: rgba(35, 35, 35, 0.5) 2px 2px 5px;
151
+ -moz-box-shadow: rgba(35, 35, 35, 0.5) 2px 2px 5px;
152
+ -o-box-shadow: rgba(35, 35, 35, 0.5) 2px 2px 5px;
153
+ box-shadow: rgba(35, 35, 35, 0.5) 2px 2px 5px;
154
+ }
155
+ .mda {
156
+ /* metadata attribute */
157
+ font-weight: bold;
158
+ vertical-align: top;
159
+ }
160
+ .mdv {
161
+ /* metadata value */
162
+ }
163
+ /* Big (Empty) Footer */
164
+ #bigfoot {
165
+ height: 40em;
166
+ }
@@ -0,0 +1,62 @@
1
+ .codehilite .hll { background-color: #ffffcc }
2
+ .codehilite { background: #f8f8f8; }
3
+ .codehilite .c { color: #408080; font-style: italic } /* Comment */
4
+ .codehilite .err { border: 1px solid #FF0000 } /* Error */
5
+ .codehilite .k { color: #008000; font-weight: bold } /* Keyword */
6
+ .codehilite .o { color: #666666 } /* Operator */
7
+ .codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */
8
+ .codehilite .cp { color: #BC7A00 } /* Comment.Preproc */
9
+ .codehilite .c1 { color: #408080; font-style: italic } /* Comment.Single */
10
+ .codehilite .cs { color: #408080; font-style: italic } /* Comment.Special */
11
+ .codehilite .gd { color: #A00000 } /* Generic.Deleted */
12
+ .codehilite .ge { font-style: italic } /* Generic.Emph */
13
+ .codehilite .gr { color: #FF0000 } /* Generic.Error */
14
+ .codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
15
+ .codehilite .gi { color: #00A000 } /* Generic.Inserted */
16
+ .codehilite .go { color: #808080 } /* Generic.Output */
17
+ .codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
18
+ .codehilite .gs { font-weight: bold } /* Generic.Strong */
19
+ .codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
20
+ .codehilite .gt { color: #0040D0 } /* Generic.Traceback */
21
+ .codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
22
+ .codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
23
+ .codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
24
+ .codehilite .kp { color: #008000 } /* Keyword.Pseudo */
25
+ .codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
26
+ .codehilite .kt { color: #B00040 } /* Keyword.Type */
27
+ .codehilite .m { color: #666666 } /* Literal.Number */
28
+ .codehilite .s { color: #BA2121 } /* Literal.String */
29
+ .codehilite .na { color: #7D9029 } /* Name.Attribute */
30
+ .codehilite .nb { color: #008000 } /* Name.Builtin */
31
+ .codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
32
+ .codehilite .no { color: #880000 } /* Name.Constant */
33
+ .codehilite .nd { color: #AA22FF } /* Name.Decorator */
34
+ .codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */
35
+ .codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
36
+ .codehilite .nf { color: #0000FF } /* Name.Function */
37
+ .codehilite .nl { color: #A0A000 } /* Name.Label */
38
+ .codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
39
+ .codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
40
+ .codehilite .nv { color: #19177C } /* Name.Variable */
41
+ .codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
42
+ .codehilite .w { color: #bbbbbb } /* Text.Whitespace */
43
+ .codehilite .mf { color: #666666 } /* Literal.Number.Float */
44
+ .codehilite .mh { color: #666666 } /* Literal.Number.Hex */
45
+ .codehilite .mi { color: #666666 } /* Literal.Number.Integer */
46
+ .codehilite .mo { color: #666666 } /* Literal.Number.Oct */
47
+ .codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
48
+ .codehilite .sc { color: #BA2121 } /* Literal.String.Char */
49
+ .codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
50
+ .codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
51
+ .codehilite .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
52
+ .codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
53
+ .codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
54
+ .codehilite .sx { color: #008000 } /* Literal.String.Other */
55
+ .codehilite .sr { color: #BB6688 } /* Literal.String.Regex */
56
+ .codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
57
+ .codehilite .ss { color: #19177C } /* Literal.String.Symbol */
58
+ .codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
59
+ .codehilite .vc { color: #19177C } /* Name.Variable.Class */
60
+ .codehilite .vg { color: #19177C } /* Name.Variable.Global */
61
+ .codehilite .vi { color: #19177C } /* Name.Variable.Instance */
62
+ .codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,61 @@
1
+ .codehilite .hll { background-color: #ffffcc }
2
+ .codehilite .c { color: #999988; font-style: italic } /* Comment */
3
+ .codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .codehilite .k { color: #000000; font-weight: bold } /* Keyword */
5
+ .codehilite .o { color: #000000; font-weight: bold } /* Operator */
6
+ .codehilite .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .codehilite .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
8
+ .codehilite .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .codehilite .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .codehilite .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .codehilite .ge { color: #000000; font-style: italic } /* Generic.Emph */
12
+ .codehilite .gr { color: #aa0000 } /* Generic.Error */
13
+ .codehilite .gh { color: #999999 } /* Generic.Heading */
14
+ .codehilite .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .codehilite .go { color: #888888 } /* Generic.Output */
16
+ .codehilite .gp { color: #555555 } /* Generic.Prompt */
17
+ .codehilite .gs { font-weight: bold } /* Generic.Strong */
18
+ .codehilite .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .codehilite .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .codehilite .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
21
+ .codehilite .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
22
+ .codehilite .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
23
+ .codehilite .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
24
+ .codehilite .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
25
+ .codehilite .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26
+ .codehilite .m { color: #009999 } /* Literal.Number */
27
+ .codehilite .s { color: #d01040 } /* Literal.String */
28
+ .codehilite .na { color: #008080 } /* Name.Attribute */
29
+ .codehilite .nb { color: #0086B3 } /* Name.Builtin */
30
+ .codehilite .nc { color: #445588; font-weight: bold } /* Name.Class */
31
+ .codehilite .no { color: #008080 } /* Name.Constant */
32
+ .codehilite .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
33
+ .codehilite .ni { color: #800080 } /* Name.Entity */
34
+ .codehilite .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .codehilite .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .codehilite .nl { color: #990000; font-weight: bold } /* Name.Label */
37
+ .codehilite .nn { color: #555555 } /* Name.Namespace */
38
+ .codehilite .nt { color: #000080 } /* Name.Tag */
39
+ .codehilite .nv { color: #008080 } /* Name.Variable */
40
+ .codehilite .ow { color: #000000; font-weight: bold } /* Operator.Word */
41
+ .codehilite .w { color: #bbbbbb } /* Text.Whitespace */
42
+ .codehilite .mf { color: #009999 } /* Literal.Number.Float */
43
+ .codehilite .mh { color: #009999 } /* Literal.Number.Hex */
44
+ .codehilite .mi { color: #009999 } /* Literal.Number.Integer */
45
+ .codehilite .mo { color: #009999 } /* Literal.Number.Oct */
46
+ .codehilite .sb { color: #d01040 } /* Literal.String.Backtick */
47
+ .codehilite .sc { color: #d01040 } /* Literal.String.Char */
48
+ .codehilite .sd { color: #d01040 } /* Literal.String.Doc */
49
+ .codehilite .s2 { color: #d01040 } /* Literal.String.Double */
50
+ .codehilite .se { color: #d01040 } /* Literal.String.Escape */
51
+ .codehilite .sh { color: #d01040 } /* Literal.String.Heredoc */
52
+ .codehilite .si { color: #d01040 } /* Literal.String.Interpol */
53
+ .codehilite .sx { color: #d01040 } /* Literal.String.Other */
54
+ .codehilite .sr { color: #009926 } /* Literal.String.Regex */
55
+ .codehilite .s1 { color: #d01040 } /* Literal.String.Single */
56
+ .codehilite .ss { color: #990073 } /* Literal.String.Symbol */
57
+ .codehilite .bp { color: #999999 } /* Name.Builtin.Pseudo */
58
+ .codehilite .vc { color: #008080 } /* Name.Variable.Class */
59
+ .codehilite .vg { color: #008080 } /* Name.Variable.Global */
60
+ .codehilite .vi { color: #008080 } /* Name.Variable.Instance */
61
+ .codehilite .il { color: #009999 } /* Literal.Number.Integer.Long */