Minimal Mistake – Enabling code block line number with markdown Apr 15, 2020 By adding the following configuration in _config.yml file, we can see the code block line number 1 2 3 4 kramdown: syntax_highlighter_opts: block: line_numbers: true