@qtikit/mathml-to-latex
Version:
A JavaScript tool to convert mathml string to LaTeX string
15 lines (14 loc) • 397 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Wrapper = void 0;
var Wrapper = /** @class */ (function () {
function Wrapper(open, close) {
this._open = open;
this._close = close;
}
Wrapper.prototype.wrap = function (str) {
return this._open + str + this._close;
};
return Wrapper;
}());
exports.Wrapper = Wrapper;