Valid emphasis: italic and bold

Valid underscore: italic and bold

Asterisk after space: foo * bar* should not be emphasis

Underscore intraword: foo_bar_baz (not emphasis)

Valid underscore at word boundary: word

Mixed: foo bar baz