import { Node } from "./../../pm/model.js";
import { getHTMLFromFragment } from "./get-html-from-fragment.js";
import { getSchema } from "./get-schema.js";
function generateHTML(doc, extensions) {
  const schema = getSchema(extensions);
  const contentNode = Node.fromJSON(schema, doc);
  return getHTMLFromFragment(contentNode.content, schema);
}
export {
  generateHTML
};
//# sourceMappingURL=generate-html.js.map
