agent-ecosystem/src/renderer/utils/markdownPlugins.ts
iliya 6aec33ae33 feat: enhance notification and task management features
- Updated notification configuration to separate settings for lead and user inbox messages, improving user control over notifications.
- Enhanced the handling of inbox message notifications to respect individual inbox settings.
- Introduced new IPC methods for managing watched directories, allowing for more granular file monitoring.
- Improved task management by implementing work intervals for task status transitions, ensuring accurate tracking of task progress.
- Added validation for task creation and configuration, ensuring proper input handling for project paths and task properties.
2026-03-02 18:17:57 +02:00

15 lines
552 B
TypeScript

/**
* Rehype plugins for markdown rendering (used with react-markdown).
*
* - rehype-raw: parse and render inline HTML in markdown
* - rehype-highlight: syntax highlighting for code blocks
*/
import rehypeHighlight from 'rehype-highlight';
import rehypeRaw from 'rehype-raw';
/** Full plugin chain: raw HTML + syntax highlighting */
export const REHYPE_PLUGINS = [rehypeRaw, rehypeHighlight];
/** Lightweight chain: raw HTML only (used when highlighting is disabled for large content) */
export const REHYPE_PLUGINS_NO_HIGHLIGHT = [rehypeRaw];