mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-03 03:39:29 +08:00
16 lines
285 B
Text
16 lines
285 B
Text
/**
|
|
* @typedef {import('micromark-util-types').Event} Event
|
|
*/
|
|
import {subtokenize} from 'micromark-util-subtokenize'
|
|
/**
|
|
* @param {Event[]} events
|
|
* @returns {Event[]}
|
|
*/
|
|
|
|
export function postprocess(events) {
|
|
while (!subtokenize(events)) {
|
|
// Empty
|
|
}
|
|
|
|
return events
|
|
}
|