Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

539 B
Raw Blame
import { EntityLinkElement } from '@/features/EntityLink';

import { type MarkdownElement } from '../type';
import { ConversationLink } from './Render';

/**
 * Binds the host-agnostic entity-link capability to the conversation markdown
 * plugin registry.
 *
 * Conversation messages add topic actions to the shared entity-link renderer.
 */
const LinkElement: MarkdownElement = {
  Component: ConversationLink,
  rehypePlugin: EntityLinkElement.rehypePlugin,
  scope: 'all',
  tag: EntityLinkElement.tag,
};

export default LinkElement;