mf.setValue(x.latex);
                    if (error.length > 0) {
                      result +=
                        '<p><code style="color: red">Parsing Errors:</code>';
                      result +=
                        '<p><code style="color: red">' +
                        error.join('<br>') +
                        '</code>';
                    }
                    result += '<p><code style="color: #777">';
                    {
                      const val = mf.getValue('latex');
    