Suppose var text = 25 is $5^2$ and we only want to render 5^2 but we don't know what the text is beforehand. Is this possible? Mathjax node would render the entire string if we we wrapped it around text.