MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / Preview.tsx

File Preview.tsx

packages/app-core/src/components/Preview.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
2import { createPortal } from "react-dom";
3import type { NoteMeta } from "@shared/ipc";
4import { renderMarkdown } from "../lib/markdown";

Callers

nothing calls this directly

Calls 15

listDatabaseLinkTargetsFunction · 0.90
resolveWikilinkTargetFunction · 0.90
hasNoteEmbedsFunction · 0.90
expandEmbedsFunction · 0.90
renderMarkdownFunction · 0.90
isSameFileHeadingLinkFunction · 0.90
resolveDatabaseWikilinkFunction · 0.90
enhanceLocalAssetNodesFunction · 0.90
assetTabPathFunction · 0.90
enhanceCodeBlockCopyFunction · 0.90
promptAppFunction · 0.90

Tested by

no test coverage detected