planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

37
node_modules/mdast-util-to-hast/lib/all.js generated vendored Normal file
View File

@@ -0,0 +1,37 @@
'use strict'
module.exports = all
var trim = require('trim')
var one = require('./one')
function all(h, parent) {
var nodes = parent.children || []
var length = nodes.length
var values = []
var index = -1
var result
var head
while (++index < length) {
result = one(h, nodes[index], parent)
if (result) {
if (index && nodes[index - 1].type === 'break') {
if (result.value) {
result.value = trim.left(result.value)
}
head = result.children && result.children[0]
if (head && head.value) {
head.value = trim.left(head.value)
}
}
values = values.concat(result)
}
}
return values
}