Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import type { ReactNode } from 'react';
import {
FrontmatterPluginSection,
MarkdownlintPluginSection,
OkfPluginSection,
} from './LintingSection';
import { LINT_PLUGIN_META, type LintPluginMeta } from './lint-plugin-meta';
type PluginSection = () => ReactNode;
const SECTIONS: Record<LintPluginMeta['id'], PluginSection> = {
markdownlint: MarkdownlintPluginSection,
frontmatter: FrontmatterPluginSection,
okf: OkfPluginSection,
};
export interface LintPluginUi extends LintPluginMeta {
Section: PluginSection;
}
export const LINT_PLUGIN_UI: LintPluginUi[] = LINT_PLUGIN_META.map((meta) => ({
...meta,
Section: SECTIONS[meta.id],
}));