-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
There doesn't seem to be a way to add "semantic" markup to messages in SARIF logs.
For example, in GCC 15 I've added colorization to some diagnostics to highlight expected type vs actual type; see:
https://godbolt.org/z/zqWGe5jKh
where note how
- the
%iin the message line and quoted source and theintin the message line and the source annotation all appear in green (they're marked up internally asexpected_type) - the
const char *in the message line and in the source annotation and themsgin the quoted source all appear in dark blue (they're marked up internally asactual_type)
I'd like to capture this markup in the generated SARIF output, but we only support a subset of Markdown, and, in particular, HTML is forbidden.
Reactions are currently unavailable
