Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line numbering in code blocks is messy #138

Open
Pamplemousse opened this issue Sep 22, 2021 · 2 comments
Open

Line numbering in code blocks is messy #138

Pamplemousse opened this issue Sep 22, 2021 · 2 comments

Comments

@Pamplemousse
Copy link

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
Copy link
Author

Also, note that inlining

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

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

@stale
Copy link

stale bot commented Jan 8, 2022

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 stale bot added the wontfix label Jan 8, 2022
@settings settings bot removed the wontfix label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant