diff options
Diffstat (limited to '')
-rw-r--r-- | _config.yml | 5 | ||||
-rw-r--r-- | styles.css | 29 |
2 files changed, 14 insertions, 20 deletions
diff --git a/_config.yml b/_config.yml index 76e89f1..9d623e8 100644 --- a/_config.yml +++ b/_config.yml @@ -5,6 +5,11 @@ author: name: EuAndreh email: eu@euandre.org +markdown: kramdown # default markdown renderer for Jekyll +kramdown: + syntax_highlighter_opts: + line_numbers: true + exclude: - Gemfile - Gemfile.lock @@ -51,29 +51,18 @@ footer li a { margin-left: 5px; } -pre { - padding: 5px; - border: 1px solid; +pre.lineno { + margin-right: 3px; + padding-right: 3px; + border-right: 1px solid; border-color: hsla(0, 0%, 0%, 0.3); - border-radius: 5px; - white-space: pre-wrap; - counter-reset: line; -} - -code { - font-family: monospace; + text-align: right; + user-select: none; } -pre a:before { - color: #aaa; - content: counter(line); - counter-increment: line; - display: inline-block; - width: 3em; - margin-left: auto; - margin-right: 1em; - padding-left: auto; - text-align: right; +pre.highlight { + border-top: 1px solid; + border-bottom: 1px solid; } article .header { |