summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-08 15:42:12 -0300
committerEuAndreh <eu@euandre.org>2020-08-08 15:42:12 -0300
commitea21bd915a8211dd49d381b879f0ec1caec7332c (patch)
treee6e0cd1392ff15c53a883e8445035a8d3d931335
parentabout.md: Pastebin -> Pastebins (diff)
downloadeuandre.org-ea21bd915a8211dd49d381b879f0ec1caec7332c.tar.gz
euandre.org-ea21bd915a8211dd49d381b879f0ec1caec7332c.tar.xz
_config.yml: Add line numbers only to code blocks
The 'line_numbers: true' option enables line numbering for all code blocks, including inline ones. Instead I want line numbering just for code blocks.
Diffstat (limited to '')
-rw-r--r--_config.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index 9d623e8..dbde8cd 100644
--- a/_config.yml
+++ b/_config.yml
@@ -8,7 +8,10 @@ author:
markdown: kramdown # default markdown renderer for Jekyll
kramdown:
syntax_highlighter_opts:
- line_numbers: true
+ span:
+ line_numbers: false
+ block:
+ line_numbers: true
exclude:
- Gemfile