File size: 295 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * @typedef {import('micromark-util-types').Event} Event
 */

import {subtokenize} from 'micromark-util-subtokenize'

/**
 * @param {Array<Event>} events
 * @returns {Array<Event>}
 */
export function postprocess(events) {
  while (!subtokenize(events)) {
    // Empty
  }
  return events
}