From 4e86b7ef1eb69354a80bd93f2063ac1643236b80 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 7 Aug 2021 13:25:35 +0200 Subject: fix: no bare boundp in iflet --- util/orga.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 util/orga.js (limited to 'util/orga.js') diff --git a/util/orga.js b/util/orga.js new file mode 100644 index 0000000..4f85eeb --- /dev/null +++ b/util/orga.js @@ -0,0 +1,8 @@ +const stream = import('unified-stream') +const reorg = require('@orgajs/reorg') +const mutate = require('@orgajs/reorg-rehype') +const html = import('rehype-stringify') + +const processor = reorg().use(mutate).use(html) + +process.stid.pipe(stream(processor)).pipe(process.stdout) -- cgit v1.2.3