Skip to content

Commit

Permalink
Upgraded the syntax highlighting to work on the current github setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Widell committed Oct 5, 2014
1 parent 31128bf commit d652de6
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 6 deletions.
3 changes: 1 addition & 2 deletions _config.yml
Expand Up @@ -3,8 +3,7 @@
permalink: /:categories/:year/:month/:day/:title

exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
auto: true
pygments: true
markdown: redcarpet

# Themes are encouraged to use these universal variables
# so be sure to set them if your theme uses them.
Expand Down
8 changes: 5 additions & 3 deletions _posts/2014-10-06-git-push-deploy.md
Expand Up @@ -212,7 +212,7 @@ Setting Up Upstart

The Upstart file doesn't have to be complex. Actually, the one I use is very simple:

```
```sh
# Respawn up to 10 times in 1 minute.
respawn
respawn limit 10 1
Expand Down Expand Up @@ -253,11 +253,13 @@ Let's try it out. First start up the service...

sudo start deploy-demo

...and verify that it's running on http://[PRODUCTION_SERVER_IP]. You should see a happy cat smiley in your browser.
...and verify that it's running on http://[PRODUCTION\_SERVER\_IP]. You should see a happy cat smiley in your browser.

Now change `app.js` serve something else:
Now change `app.js` to serve something else:

```js
res.end('Something else.');
```

Commit and push the change:

Expand Down
141 changes: 140 additions & 1 deletion assets/themes/twitter/css/style.css
Expand Up @@ -68,4 +68,143 @@ html, body {
border:1px solid #4C964D;
color:#FFF;
}



/**
* Syntax highlighting styles
*/
.highlight {
background: #fff; }
.highlight .c {
color: #998;
font-style: italic; }
.highlight .err {
color: #a61717;
background-color: #e3d2d2; }
.highlight .k {
font-weight: bold; }
.highlight .o {
font-weight: bold; }
.highlight .cm {
color: #998;
font-style: italic; }
.highlight .cp {
color: #999;
font-weight: bold; }
.highlight .c1 {
color: #998;
font-style: italic; }
.highlight .cs {
color: #999;
font-weight: bold;
font-style: italic; }
.highlight .gd {
color: #000;
background-color: #fdd; }
.highlight .gd .x {
color: #000;
background-color: #faa; }
.highlight .ge {
font-style: italic; }
.highlight .gr {
color: #a00; }
.highlight .gh {
color: #999; }
.highlight .gi {
color: #000;
background-color: #dfd; }
.highlight .gi .x {
color: #000;
background-color: #afa; }
.highlight .go {
color: #888; }
.highlight .gp {
color: #555; }
.highlight .gs {
font-weight: bold; }
.highlight .gu {
color: #aaa; }
.highlight .gt {
color: #a00; }
.highlight .kc {
font-weight: bold; }
.highlight .kd {
font-weight: bold; }
.highlight .kp {
font-weight: bold; }
.highlight .kr {
font-weight: bold; }
.highlight .kt {
color: #458;
font-weight: bold; }
.highlight .m {
color: #099; }
.highlight .s {
color: #d14; }
.highlight .na {
color: #008080; }
.highlight .nb {
color: #0086B3; }
.highlight .nc {
color: #458;
font-weight: bold; }
.highlight .no {
color: #008080; }
.highlight .ni {
color: #800080; }
.highlight .ne {
color: #900;
font-weight: bold; }
.highlight .nf {
color: #900;
font-weight: bold; }
.highlight .nn {
color: #555; }
.highlight .nt {
color: #000080; }
.highlight .nv {
color: #008080; }
.highlight .ow {
font-weight: bold; }
.highlight .w {
color: #bbb; }
.highlight .mf {
color: #099; }
.highlight .mh {
color: #099; }
.highlight .mi {
color: #099; }
.highlight .mo {
color: #099; }
.highlight .sb {
color: #d14; }
.highlight .sc {
color: #d14; }
.highlight .sd {
color: #d14; }
.highlight .s2 {
color: #d14; }
.highlight .se {
color: #d14; }
.highlight .sh {
color: #d14; }
.highlight .si {
color: #d14; }
.highlight .sx {
color: #d14; }
.highlight .sr {
color: #009926; }
.highlight .s1 {
color: #d14; }
.highlight .ss {
color: #990073; }
.highlight .bp {
color: #999; }
.highlight .vc {
color: #008080; }
.highlight .vg {
color: #008080; }
.highlight .vi {
color: #008080; }
.highlight .il {
color: #099; }

0 comments on commit d652de6

Please sign in to comment.