Skip to content

Syntax highlighting for fixme package #2494

@lambtho12

Description

@lambtho12

Problem

When using the fixme package, the commands have no special highlights in the text. Besides that, when the related entry is shown in the TOC, it is in the same formatting as regular headings and hard to distinguish.

Solution

It would be nice to highlight the various fixme commands in the same way as the \todo command is highlighted in the text. Indeed, they are usually not meant for final material and it would be much easier to spot them in the text.

As for the TOC, it would be really nice to have the "fxnote:", "fxwarning:", "fxerror:" and "fxfatal:" highlighted properly so they can stand out better, as it is already the case with the "TODO" notes. A simple solution would be to apply the same highlight as for the TODO. A more elaborate one would be to use specific colors in the TOC based on the importance of the note (regular for note, yellow for warning, orange for error, red for fatal)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions