Uses mathjs to evaluate selections and replace with results
In the editor type a formula:
PI*14^2
Then select the formula and hit the hot-key ctrl+opt+m
to replace the selected text with the result
615.7521601035994
Note: Invalid formulas will not replace text, but will shows errors in the developer console.