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

18
node_modules/mdast-util-to-hast/lib/handlers/code.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'use strict'
module.exports = code
var detab = require('detab')
var u = require('unist-builder')
function code(h, node) {
var value = node.value ? detab(node.value + '\n') : ''
var lang = node.lang && node.lang.match(/^[^ \t]+(?=[ \t]|$)/)
var props = {}
if (lang) {
props.className = ['language-' + lang]
}
return h(node.position, 'pre', [h(node, 'code', props, [u('text', value)])])
}