mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
feat: migrate to starlight
This commit is contained in:
15
node_modules/retext-stringify/lib/index.js
generated
vendored
Normal file
15
node_modules/retext-stringify/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @typedef {import('nlcst').Root} Root
|
||||
*/
|
||||
|
||||
import {toString} from 'nlcst-to-string'
|
||||
|
||||
/** @type {import('unified').Plugin<void[], Root, string>} */
|
||||
export default function retextStringify() {
|
||||
Object.assign(this, {Compiler})
|
||||
}
|
||||
|
||||
/** @type {import('unified').CompilerFunction<Root, string>} */
|
||||
function Compiler(tree) {
|
||||
return toString(tree)
|
||||
}
|
||||
Reference in New Issue
Block a user