Every time I type a character in an input field, I parse the expression so that I get:
You can sort of hack styling behind it if it's just for unimportant aesthetics.
Here's a quick demo.