import { factorySpace } from "../micromark-factory-space/index.js";
import { markdownSpace, markdownLineEnding } from "../micromark-util-character/index.js";
const blankLine = {
  partial: true,
  tokenize: tokenizeBlankLine
};
function tokenizeBlankLine(effects, ok, nok) {
  return start;
  function start(code) {
    return markdownSpace(code) ? factorySpace(effects, after, "linePrefix")(code) : after(code);
  }
  function after(code) {
    return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
  }
}
export {
  blankLine
};
//# sourceMappingURL=lib-blank-line.js.map
