diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/orga.js | 8 | ||||
-rw-r--r-- | util/uniorg.js | 10 |
2 files changed, 0 insertions, 18 deletions
diff --git a/util/orga.js b/util/orga.js deleted file mode 100644 index 4f85eeb..0000000 --- a/util/orga.js +++ /dev/null @@ -1,8 +0,0 @@ -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) diff --git a/util/uniorg.js b/util/uniorg.js deleted file mode 100644 index cc046e9..0000000 --- a/util/uniorg.js +++ /dev/null @@ -1,10 +0,0 @@ - -import { unified } from 'unified'; -var createStream = import('unified-stream'); -var uniorgParse = import('uniorg-parse'); -var uniorg2rehype = import('uniorg-rehype'); -var html = import('rehype-stringify'); - -var processor = unified().use(uniorgParse).use(uniorg2rehype).use(html); - -process.stdin.pipe(createStream(processor)).pipe(process.stdout); |