cayman icon indicating copy to clipboard operation
cayman copied to clipboard

Line numbering in code blocks is messy

Open Pamplemousse opened this issue 3 years ago • 2 comments

By adding

kramdown:                                                                                                                                                                                          
   syntax_highlighter_opts:                                                                                                                                                                         
     block:                                                                                                                                                                                         
       line_numbers: true

to their Jekyll configuration, one can have line numbers displayed in code blocks.

However, I tried this with the cayman theme, and the display is messily overcomplicated. This the following screenshot: Screenshot_2021-09-22_10-52-14

I expected only to see the outermost border.

Pamplemousse avatar Sep 22 '21 08:09 Pamplemousse

Also, note that inlining

{% highlight c linenos %}
...
{% highlight %}

directly in the .md instead of changing the configuration produces the same behavior.

Pamplemousse avatar Sep 22 '21 08:09 Pamplemousse

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '22 23:01 stale[bot]