process static command / block commands. setmeta, setview

This commit is contained in:
sawka
2024-05-16 18:01:52 -07:00
parent 70dd4a1e30
commit d34ccfd7ab
5 changed files with 62 additions and 20 deletions
-3
View File
@@ -19,9 +19,6 @@ const MarkdownPreview = ({ contentAtom }: { contentAtom: jotai.Atom<Promise<stri
</div>
);
};
let counter = 0;
const PreviewView = ({ blockId }: { blockId: string }) => {
const blockDataAtom: jotai.Atom<BlockData> = blockDataMap.get(blockId);
const fileNameAtom = useBlockAtom(blockId, "preview:filename", () =>
+1
View File
@@ -39,6 +39,7 @@
&.view-preview-markdown {
align-items: start;
justify-content: start;
overflow: auto;
}
&.view-preview-text {