Files
skills-here-run-place/node_modules/micromark/lib/postprocess.js
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

18 lines
314 B
JavaScript

/**
* @import {Event} from 'micromark-util-types'
*/
import { subtokenize } from 'micromark-util-subtokenize';
/**
* @param {Array<Event>} events
* Events.
* @returns {Array<Event>}
* Events.
*/
export function postprocess(events) {
while (!subtokenize(events)) {
// Empty
}
return events;
}