diff options
author | EuAndreh <eu@euandre.org> | 2020-08-08 15:42:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-08 15:42:12 -0300 |
commit | ea21bd915a8211dd49d381b879f0ec1caec7332c (patch) | |
tree | e6e0cd1392ff15c53a883e8445035a8d3d931335 | |
parent | about.md: Pastebin -> Pastebins (diff) | |
download | euandre.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.yml | 5 |
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 |