summaryrefslogtreecommitdiff
path: root/util/uniorg.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-12-04 11:55:39 +0100
committerThomas F. K. Jorna <[email protected]>2021-12-04 11:55:39 +0100
commitd57edaebf8dacc9159c35e1084b7d600f077e18e (patch)
tree79c4bcb34bc4a6e0684f07124cdaac01da4e7160 /util/uniorg.tsx
parentfca239e3140e660fc26dd7b7bc7bfbbcfafe8630 (diff)
feat: add own latex macros
Diffstat (limited to 'util/uniorg.tsx')
-rw-r--r--util/uniorg.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/uniorg.tsx b/util/uniorg.tsx
index 7ffd3b8..68f0330 100644
--- a/util/uniorg.tsx
+++ b/util/uniorg.tsx
@@ -13,6 +13,7 @@ export interface UniOrgProps {
outline: boolean
collapse: boolean
linksByNodeId: LinksByNodeId
+ macros?: { [key: string]: string }
}
export const UniOrg = (props: UniOrgProps) => {
@@ -26,6 +27,7 @@ export const UniOrg = (props: UniOrgProps) => {
outline,
collapse,
linksByNodeId,
+ macros,
} = props
const [previewText, setPreviewText] = useState('')
@@ -67,6 +69,7 @@ export const UniOrg = (props: UniOrgProps) => {
outline,
collapse,
linksByNodeId,
+ macros,
}}
/>
)}