From d57edaebf8dacc9159c35e1084b7d600f077e18e Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 4 Dec 2021 11:55:39 +0100 Subject: feat: add own latex macros --- components/Sidebar/Note.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/Sidebar/Note.tsx') diff --git a/components/Sidebar/Note.tsx b/components/Sidebar/Note.tsx index 62cc8ad..1f864f3 100644 --- a/components/Sidebar/Note.tsx +++ b/components/Sidebar/Note.tsx @@ -20,6 +20,7 @@ export interface NoteProps { openContextMenu: any outline: boolean collapse: boolean + macros?: { [key: string]: string } } export const Note = (props: NoteProps) => { @@ -35,6 +36,7 @@ export const Note = (props: NoteProps) => { openContextMenu, outline, collapse, + macros, } = props const extraStyle = outline ? outlineNoteStyle : viewerNoteStyle @@ -68,6 +70,7 @@ export const Note = (props: NoteProps) => { collapse, nodeById, linksByNodeId, + macros, }} />