This commit is contained in:
9
node_modules/mdast-util-to-hast/lib/handlers/heading.js
generated
vendored
Normal file
9
node_modules/mdast-util-to-hast/lib/handlers/heading.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = heading
|
||||
|
||||
var all = require('../all')
|
||||
|
||||
function heading(h, node) {
|
||||
return h(node, 'h' + node.depth, all(h, node))
|
||||
}
|
||||
Reference in New Issue
Block a user