From 1b488b87fef21c1f430db4131e3ceb82f25612cf Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Fri, 1 Oct 2021 20:41:17 +0200 Subject: chore: build and clean --- util/getOrgText.ts | 0 util/uniorg.tsx | 9 ++++----- 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 util/getOrgText.ts (limited to 'util') diff --git a/util/getOrgText.ts b/util/getOrgText.ts deleted file mode 100644 index e69de29..0000000 diff --git a/util/uniorg.tsx b/util/uniorg.tsx index ba86a89..3304a32 100644 --- a/util/uniorg.tsx +++ b/util/uniorg.tsx @@ -1,8 +1,8 @@ import unified from 'unified' -import createStream from 'unified-stream' +//import createStream from 'unified-stream' import uniorgParse from 'uniorg-parse' import uniorg2rehype from 'uniorg-rehype' -import highlight from 'rehype-highlight' +//import highlight from 'rehype-highlight' import katex from 'rehype-katex' import rehype2react from 'rehype-react' import React from 'react' @@ -19,7 +19,6 @@ export const UniOrg = (props: UniOrgProps) => { .use(katex) .use(rehype2react, { createElement: React.createElement }) - console.log(processor.processSync(orgText)) - return
{processor.processSync(orgText).result}
+ console.log(processor.processSync(orgText)) + return
{processor.processSync(orgText).result}
} - -- cgit v1.2.3