Skip to content

Allow styling of highlight references #127

@habetuz

Description

@habetuz

In our template ODERSO we want to customize the produces references to lines and highlights. Instead of Listing 1-1 for line numbers, we would like to display Listing 1 on line 1. For highlights we would like to display Listing 1 at x instead of Listing 1-x.

reference-number-format in combination with reference-sep allows us to achieve the line reference format, however it is currently not possible to style highlight references. A parameter like reference-highlight-pre or similar would allow the customization of produced highlight reference.

Is there a way to customize highlight references that I am missing or is this a feature worth thinking about?

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