Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
19
node_modules/micromark/dev/lib/postprocess.js
generated
vendored
Normal file
19
node_modules/micromark/dev/lib/postprocess.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* @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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue