Skip to content

Request: Remove hard-coded margins, padding #23

Description

@tobydriscoll

It looks as though Format.jl sets the CSS border, margins, and padding of a pre.hljl selector using hard-coded values. In my testing, a theme cannot override these settings. This complicates downstream usage. Most saliently, the caller cannot set them in the pre selector for itself and have those values respected across a variety of containers. (See JunoLab/Weave.jl#172 (comment).)

Options would be to remove these values from the pre.hljl selector in Format.jl, or make the values changeable via the theme.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions