@@ -871,11 +871,7 @@ onUnmounted(() => gptVis?.destroy());
871871 </ p >
872872
873873 < h4 className = "text-xl font-bold text-on-surface mb-4" > Installing</ h4 >
874- < CodeBlock
875- label = "bash"
876- lang = "bash"
877- code = "npx shadcn@latest add @gpt-vis/gpt-vis"
878- />
874+ < CodeBlock label = "bash" lang = "bash" code = "npx shadcn@latest add @gpt-vis/gpt-vis" />
879875 < p className = "text-on-surface-variant mt-4 mb-4" >
880876 This copies the component into{ ' ' }
881877 < code className = "text-indigo-600" > src/components/ui/gpt-vis.tsx</ code > .
@@ -950,11 +946,7 @@ export default function MyChart() {
950946 < p className = "text-on-surface-variant mb-4" >
951947 Install any chart component by name. The base component is automatically included:
952948 </ p >
953- < CodeBlock
954- label = "bash"
955- lang = "bash"
956- code = "npx shadcn@latest add @gpt-vis/line"
957- />
949+ < CodeBlock label = "bash" lang = "bash" code = "npx shadcn@latest add @gpt-vis/line" />
958950 < p className = "text-on-surface-variant mt-4 mb-2" >
959951 This installs both < code className = "text-indigo-600" > line.tsx</ code > and{ ' ' }
960952 < code className = "text-indigo-600" > gpt-vis.tsx</ code > into{ ' ' }
@@ -1059,6 +1051,78 @@ export default function MyChart() {
10591051 ) ) }
10601052 </ div >
10611053 </ section >
1054+
1055+ < section className = "mb-10 scroll-mt-24" id = "ecosystem" >
1056+ < SectionHeading id = "ecosystem" > Ecosystem</ SectionHeading >
1057+ < p className = "text-on-surface-variant leading-relaxed mb-8" >
1058+ We are continuously expanding the GPT-Vis ecosystem. From editor integrations and
1059+ framework bindings to AI toolchains and beyond—whatever you can imagine can be part of
1060+ it. We welcome community contributors to bring new ideas and projects, and help us
1061+ grow the map together.
1062+ </ p >
1063+
1064+ < div className = "overflow-x-auto" >
1065+ < table className = "w-full text-sm" >
1066+ < thead >
1067+ < tr className = "border-b border-outline-variant" >
1068+ < th className = "text-left py-3 px-4 font-semibold text-on-surface" > Package</ th >
1069+ < th className = "text-left py-3 px-4 font-semibold text-on-surface" > Ecosystem</ th >
1070+ < th className = "text-left py-3 px-4 font-semibold text-on-surface" >
1071+ Description
1072+ </ th >
1073+ </ tr >
1074+ </ thead >
1075+ < tbody className = "divide-y divide-outline-variant" >
1076+ { [
1077+ {
1078+ name : 'rehype-gpt-vis' ,
1079+ ecosystem : 'Unified / rehype' ,
1080+ desc : 'For unified ecosystem (react-markdown, MDX, etc.)' ,
1081+ } ,
1082+ {
1083+ name : 'markdown-it-gpt-vis' ,
1084+ ecosystem : 'markdown-it' ,
1085+ desc : 'For markdown-it (Vitepress, VuePress, etc.)' ,
1086+ } ,
1087+ {
1088+ name : 'marked-gpt-vis' ,
1089+ ecosystem : 'Marked' ,
1090+ desc : 'For Marked (Hexo, GitBook, etc.)' ,
1091+ } ,
1092+ ] . map ( ( pkg ) => (
1093+ < tr key = { pkg . name } className = "hover:bg-surface-container transition-colors" >
1094+ < td className = "py-3 px-4" >
1095+ < a
1096+ href = { `https://www.npmjs.com/package/${ pkg . name } ` }
1097+ target = "_blank"
1098+ rel = "noopener noreferrer"
1099+ className = "text-primary hover:underline font-mono"
1100+ >
1101+ { pkg . name }
1102+ </ a >
1103+ </ td >
1104+ < td className = "py-3 px-4 text-on-surface-variant" > { pkg . ecosystem } </ td >
1105+ < td className = "py-3 px-4 text-on-surface-variant" > { pkg . desc } </ td >
1106+ </ tr >
1107+ ) ) }
1108+ </ tbody >
1109+ </ table >
1110+ </ div >
1111+
1112+ < div className = "mt-8 flex items-center gap-4" >
1113+ < span className = "text-on-surface-variant text-sm" >
1114+ Have a plugin or integration?{ ' ' }
1115+ < a
1116+ href = "https://github.com/antvis/GPT-Vis/issues"
1117+ target = "_blank"
1118+ rel = "noopener noreferrer"
1119+ className = "text-primary hover:underline"
1120+ >
1121+ Share it with us →
1122+ </ a >
1123+ </ span >
1124+ </ div >
1125+ </ section >
10621126 </ div >
10631127 </ div >
10641128 </ div >
0 commit comments