Skip to content

Commit 016b1a2

Browse files
committed
Fixed #30: Suboptimal syntax highlighting for PHP
1 parent 0f5c43d commit 016b1a2

File tree

7 files changed

+24
-5
lines changed

7 files changed

+24
-5
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
mkdocs-material-0.2.3 (2016-XX-XX)
2+
3+
* Fixed #25: Highlight inline fenced blocks
4+
* Fixed #30: Suboptimal syntax highlighting for PHP
5+
16
mkdocs-material-0.2.2 (2016-03-20)
27

38
* Fixed #15: Document pygments dependency for codehilite

material/assets/stylesheets/application-1a080b68f4.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

material/assets/stylesheets/application-d83054620e.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/application.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
font-style: normal;
5454
}
5555
</style>
56-
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-1a080b68f4.css">
56+
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-d83054620e.css">
5757
{% if config.extra.palette %}
5858
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/palettes-05ab2406df.css">
5959
{% endif %}

material/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
33
"assets/javascripts/application.js": "assets/javascripts/application-997097ee0c.js",
44
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js",
5-
"assets/stylesheets/application.css": "assets/stylesheets/application-1a080b68f4.css",
5+
"assets/stylesheets/application.css": "assets/stylesheets/application-d83054620e.css",
66
"assets/stylesheets/palettes.css": "assets/stylesheets/palettes-05ab2406df.css"
77
}

src/assets/stylesheets/_highlight.scss

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,24 @@ pre {
5555
/*
5656
* Types and functions
5757
*/
58-
.kt, .kd, .n.f {
58+
.kt, .kd {
5959
color: #0086B3;
6060
}
6161

62+
/*
63+
* Function definition
64+
*/
65+
.nf, .n.f {
66+
color: #795da3;
67+
}
68+
69+
/*
70+
* Classes
71+
*/
72+
.nx {
73+
color: #0086b3;
74+
}
75+
6276
/*
6377
* Strings
6478
*/

0 commit comments

Comments
 (0)