"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];o.peek=g;function c(){return{canContainEols:["delete"],enter:{strikethrough:s},exit:{strikethrough:k}}}function a(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:h}],handlers:{delete:o}}}function s(e){this.enter({type:"delete",children:[]},e)}function k(e){this.exit(e)}function o(e,l,r,i){const n=r.createTracker(i),u=r.enter("strikethrough");let t=n.move("~~");return t+=r.containerPhrasing(e,{...n.current(),before:t,after:"~"}),t+=n.move("~~"),u(),t}function g(){return"~"}exports.gfmStrikethroughFromMarkdown=c;exports.gfmStrikethroughToMarkdown=a;
//# sourceMappingURL=index.cjs.js.map
