summaryrefslogtreecommitdiff
path: root/util/uniorg.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'util/uniorg.tsx')
-rw-r--r--util/uniorg.tsx9
1 files changed, 4 insertions, 5 deletions
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 <div> {processor.processSync(orgText).result}</div>
+ console.log(processor.processSync(orgText))
+ return <div> {processor.processSync(orgText).result}</div>
}
-