mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 18:17:44 +02:00
Extracts CODE_LIGATURE_CLASS and CODE_LIGATURE_DESCENDANT_CLASS into packages/ui/lib/code-style.ts. Non-markdown CLI command surfaces (onboarding/cli-install-instructions, runtimes/connect-remote-dialog) can now import the class strings without pulling in the shiki + react-markdown + katex dependency graph via the markdown barrel. CodeBlock and Markdown continue to consume the constants from the new module; the markdown barrel no longer re-exports CODE_LIGATURE_CLASS. MUL-2793 Co-authored-by: J <j@multica.ai> Co-authored-by: multica-agent <github@multica.ai>
13 lines
508 B
TypeScript
13 lines
508 B
TypeScript
export { Markdown, MemoizedMarkdown, type MarkdownProps, type RenderMode } from './Markdown'
|
|
export { CodeBlock, InlineCode, type CodeBlockProps } from './CodeBlock'
|
|
export { StreamingMarkdown, type StreamingMarkdownProps } from './StreamingMarkdown'
|
|
export { preprocessLinks, detectLinks, hasLinks } from './linkify'
|
|
export { preprocessMentionShortcodes } from './mentions'
|
|
export {
|
|
preprocessFileCards,
|
|
isCdnUrl,
|
|
isFileCardUrl,
|
|
isAllowedFileCardHref,
|
|
FILE_CARD_URL_PATTERN,
|
|
} from './file-cards'
|