Skip to content

highlightjs-line-numbers changes code font #93

@wermos

Description

@wermos

Describe the bug
The highlightjs-line-numbers plugin changed the code font on my Jekyll blog (repo link) when I added it as a plugin, following the instructions given in the usage portion of the README.

Expected behavior
The code font should not change.

Screenshots
This is what code snippets currently look like:
image

This is what they're supposed to look like, but with line numbers:
image

Desktop:

  • OS: Windows
  • Browser: Edge
  • Version: 105.0.1343.33

However, I don't think this is a browser-specific issue.

Additional context
In the main branch, one can see the code I added to _include/scripts.html to get highlight.js working.

In the custom-liquid-tag branch, the only lines I changed were these, in accordance with the README, but the code font inexplicably changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions