Skip to content

Add CSS on code blocks #816

@BerserkeR-Git

Description

@BerserkeR-Git

Is your feature request related to a problem? Please describe.
Add some CSS to the code {} selector
to have it looking more like a code block.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Fast example, feel free to fine tune according to taste.

code {
    display: inline-flex;
    background-color: rgb(0 0 0 / 25%);
    color: #ededed;
    padding: 0.1em 0.25em;
    font-size: 0.90em;
    border-radius: 0.25em;
    word-break: break-word;
    white-space: pre-wrap;
    margin: 1px 0 1px 0;
}

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions