8000 Code blocks with line numbers are broken · Issue #81 · pawroman/zola-theme-terminimal · GitHub
[go: up one dir, main page]

Skip to content

Code blocks with line numbers are broken #81

Open

Description

@f4z3r

It seems to me that the following block:

table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  margin: 40px 0;
}

table, th, td {
  border: 1px dashed var(--accent);
  padding: 10px;
}

breaks code blocks that have the linenos options set. If I remove the two blocks from the theme,
the code block gets rendered as expected.

Activity

  1. added a commit that references this issue on Feb 14, 2025
    9a21d32
  2. PlexSheep commented on Sep 3, 2025

    @PlexSheep

    Why did you close the PR? The issue persists in v2.0.0. I just took the css of your PR and added it to the pre section in main.scss, line numbering at least does work like this.

    Also, the file name is not displayed either.

  3. f4z3r commented on Sep 3, 2025

    @f4z3r
    Author

    Ah shit, it is possible I accidentally closed the PR by wiping old branches on my repos 🤣 I can reopen it.

  4. f4z3r commented on Sep 3, 2025

    @f4z3r
    Author

    Ah I remember now. I ended up changing more to the theme (master...f4z3r:zola-theme-terminimal:fix/gruvbox) and then removed the branch which contained only the fix as I no longer used it. Forgot it was linked to the PR, and deleting it must have closed the PR automatically. I will reopen it later today when I have access to my personal laptop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0