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