1
0

Code styling and highlighting

This commit is contained in:
Emil Miler 2021-12-03 22:28:16 +01:00
parent 1ca0c21e98
commit 5db0184653
2 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,7 @@ compile_sass = true
build_search_index = false
[markdown]
highlight_code = false
highlight_code = true
smart_punctuation = true
[extra]

View File

@ -108,6 +108,19 @@ main {
padding-left: 1.5em;
}
}
p>code {
background-color: #2b303b;
color: #fff;
font-size: 14px;
padding: .3em .5em;
border-radius: .3em;
}
pre {
font-size: 14px;
padding: 1em;
overflow: auto;
border-radius: .3em;
}
}
a {