Skip to content

Using custom CSS for codeblock backgrounds #59

@turbo2ltr

Description

@turbo2ltr

I updated the custom CSS for Template 1 with
code { background-color: #ddd; padding-bottom:3px; padding-top:2px; }

This gives me a preview where the code blocks have a grey background, not just a mono-space font as I rely heavily on code blocks for readability.

Image

But when I actually print, the background does not appear.

Image

Is this a bug or am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions