Does anyone here know #pygments or #chroma lexer stuff well enough to tell me how (if at all?) one can mark up stuff in *multiple ways at once*?

For instance the following line:

# foo **bar**

The entire line should be a "Heading", the first two characters and the stars should be "Keyword"s, and the bar should be "GenericStrong".

I can't for the life of me figure out how that's possible to achieve.

CC @avghelper

@avghelper The Markdown parser would have the same issues, but it just kinda gives up and only does one match for the entire line, forgetting the inner syntax, which I think is disturbing.