summaryrefslogtreecommitdiff
path: root/util/processOrg.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'util/processOrg.tsx')
-rw-r--r--util/processOrg.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/processOrg.tsx b/util/processOrg.tsx
index 3fc13dc..6d3a380 100644
--- a/util/processOrg.tsx
+++ b/util/processOrg.tsx
@@ -8,6 +8,7 @@ import attachments from 'uniorg-attach'
// rehypeHighlight does not have any types
// add error thing here
// import highlight from 'rehype-highlight'
+//import sectionParent from '@agentofuser/rehype-section'
import katex from 'rehype-katex'
import 'katex/dist/katex.css'
import rehype2react from 'rehype-react'
@@ -38,12 +39,15 @@ export const ProcessedOrg = (props: ProcessedOrgProps) => {
openContextMenu,
} = props
+ //const section = sectionParent.default
const processor = unified()
.use(uniorgParse)
.use(extractKeywords)
.use(attachments)
.use(uniorgSlug)
.use(uniorg2rehype)
+ //.data('settings', { fragment: true })
+ //.use(section)
// .use(highlight)
.use(katex)
.use(rehype2react, {