@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
15 lines (11 loc) • 403 B
text/typescript
import { MENTION_TAG } from '@/const/plugin';
import { createRemarkSelfClosingTagPlugin } from '../remarkPlugins/createRemarkSelfClosingTagPlugin';
import { MarkdownElement } from '../type';
import Component from './Render';
const Mention: MarkdownElement = {
Component,
remarkPlugin: createRemarkSelfClosingTagPlugin(MENTION_TAG),
scope: 'user',
tag: MENTION_TAG,
};
export default Mention;