This post is brought to you by the letter "C" for "color". Using ">" for the quote isn't technically necessary, but it could be forced if desired. I'll leave it off for testing though.
Posting this because I don't want to copy/paste in interactive mode 100 times.
[c]Standard highlight. This should render in the color of the standard quote.[/c]
Testing [c]inline[/c]. That was the entire point, right?
[c="#ff0000"]Testing hex codes.[/c]
[c="#f00"]Short hex code.[/c]
[c="aliceblue"]Testing standard color names.[/c]
[c='mediumseagreen']Testing single quotes and obscure color names.[/c]
[c="stardust"]This one is supposed to break, like my childhood dreams.[/c]
[c=blue]Testing no quotes, because someone always forgets.[/c]
[c=099]Testing no quotes and shortened hex codes.[/c]
[c="rgba(100,200,100,.8)"]Testing rgb format.[/c]
[c="hsla(0,100%,50%,.8)"]Testing hlsa format.[/c]
[c = "green" ]Testing spacing.[/c]
[c][/c] Testing degeneracy.
[c="#00f"][/c] More degeneracy testing.
[c="#00f]Testing improperly constructed tags. Should render properly.[/c]
[c=#00f]Testing no end tag. Line breaks should stop rendering as well.
[c=#00f Testing WTF. While this should never happen, it is still salvageable because the necessary information in front of the first whitespace character.[/c]
[c=#00f More WTF. This is ambiguous. The last '/c' could be part of the text to be rendered. It's possible to render this, but it is unclear if that is the intent. /c]
[c="indigo"]In general, any open tag like 'c]' or '/c]' or '[c' or '[/c' will not render properly. Just to save time.[/c]
[c deeppink]I like this formatting because of its minimalistic syntax, so I'm going to consider this acceptable.[/c]
[c FF4500]More minimalism. You gotta love it.[/c]
[c rgb(150,170,190)]I should probably use a test runner for this, but lazy.[/c]
[c hlsa(50%,50%,50%,.5]More bad tagging.[/c]
[c red green]Testing bad construction. There should be only one continuous whitespace section in the tag. "Green" should be ignored here, or the tag not rendered.[/c]
[c plum]How about some[c purple]nesting?[/c][/c]
[c #808000]Almost forgot to test hexes again.[/c]
[c rainbow]People would abuse this. If this makes the cut, I apologize in advance.[/c]
[c ghostly]I don't even know at this point. But it should be easy to implement so why not.[/c]
[c blue-shadow]I don't know if adding a shadow capability is a good idea either, but again it's easy so tossing it on the pile.[/c]
[c navy]I hope I didn't forget anything. If regular nesting works, [c yellow nesting with broken [c orange] and overlapping tags[/c] should sort of break, but [c red]not entirely[/c]. It doesn't have to, but it will because that's an excessive amount of work that should be easily avoidable.
[c firebrick]Just in case, [c]open nesting. That's all, folks!