import o from "remark-gfm";
import s from "remark-parse";
import { unified as t } from "unified";
import { MarkdownTransformer as p } from "./MarkdownTransformer.es.js";
import a from "./deserializer/plugin.es.js";
import { plateEditorOptions as i } from "./options.es.js";
import { remarkFondue as f } from "./remarkFondue/index.es.js";
import { escapeHtmlPreserveEntities as u } from "./utils.es.js";
class S extends p {
  process(e, r) {
    const m = r != null && r.escapeValue ? u(e) : e;
    return t().use(s).use(o).use(f).use(a, i(this.editor)).processSync(m).result;
  }
}
export {
  S as MarkdownToSlate
};
//# sourceMappingURL=MarkdownToSlate.es.js.map
