Skip to content

Commit

Permalink
Set up syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
dguo committed May 17, 2018
1 parent 0e75f89 commit 3f02ffc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: jguyomard/hugo-builder:0.40-extras
- image: jguyomard/hugo-builder:0.40
working_directory: /src
steps:
- checkout
Expand Down
2 changes: 2 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
baseURL: https://dannyguo.com
googleAnalytics: UA-90320718-1
languageCode: en-us
pygmentsCodefences: true
pygmentsStyle: monokai
title: Danny Guo
2 changes: 1 addition & 1 deletion dev
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ subparsers = parser.add_subparsers(metavar='<command>', title='commands')
DOCKER_RUN = [
'docker', 'run', '--init', '-it', '--rm', '-v',
f'{os.getcwd()}:/src:cached', '-w=/src', '-p', '1313:1313',
'jguyomard/hugo-builder:0.40-extras'
'jguyomard/hugo-builder:0.40'
]

def command(help):
Expand Down
5 changes: 5 additions & 0 deletions static/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ blockquote {
border-left: 2px solid #CCC;
}

.highlight pre {
border-radius: 3px;
padding: 8px;
}

img {
border-radius: 8px;
max-width: 100%;
Expand Down
89 changes: 0 additions & 89 deletions static/css/syntax.css

This file was deleted.

0 comments on commit 3f02ffc

Please sign in to comment.