That is not a thing in vanilla ebnf, although we could define an extension...
Could you post an example of what you think the syntax should be?
I think something like the following could work for syntax, but also think its ugly:
@startebnf
digit = <#red>"0"</red> | "1";
@endebnf