Superscript in axis titles

In good data vis pratice I want to label the axes properly, including with the corresponding units that are being displayed. So for example square meter or cubic meter. But Plotly.js does not seem to support that? Is there any workaround?

For example, m³ and m&sup2 doesn’t work, but writing plain m3 and m2 is not really correct and I can’t find any proper solution.