"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function inlineCode(state, node) {
  const text = { type: "text", value: node.value.replace(/\r?\n|\r/g, " ") };
  state.patch(node, text);
  const result = {
    type: "element",
    tagName: "code",
    properties: {},
    children: [text]
  };
  state.patch(node, result);
  return state.applyData(node, result);
}
exports.inlineCode = inlineCode;
//# sourceMappingURL=lib-handlers-inline-code.cjs.map
