Skip to content

Commit 3f02ffc

Browse files
committed
Set up syntax highlighting
1 parent 0e75f89 commit 3f02ffc

File tree

5 files changed

+9
-91
lines changed

5 files changed

+9
-91
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: jguyomard/hugo-builder:0.40-extras
5+
- image: jguyomard/hugo-builder:0.40
66
working_directory: /src
77
steps:
88
- checkout

config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
baseURL: https://dannyguo.com
22
googleAnalytics: UA-90320718-1
33
languageCode: en-us
4+
pygmentsCodefences: true
5+
pygmentsStyle: monokai
46
title: Danny Guo

dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ subparsers = parser.add_subparsers(metavar='<command>', title='commands')
1919
DOCKER_RUN = [
2020
'docker', 'run', '--init', '-it', '--rm', '-v',
2121
f'{os.getcwd()}:/src:cached', '-w=/src', '-p', '1313:1313',
22-
'jguyomard/hugo-builder:0.40-extras'
22+
'jguyomard/hugo-builder:0.40'
2323
]
2424

2525
def command(help):

static/css/general.css

+5
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ blockquote {
9292
border-left: 2px solid #CCC;
9393
}
9494

95+
.highlight pre {
96+
border-radius: 3px;
97+
padding: 8px;
98+
}
99+
95100
img {
96101
border-radius: 8px;
97102
max-width: 100%;

static/css/syntax.css

-89
This file was deleted.

0 commit comments

Comments
 (0)