1// TODO migrate to server components2// FIXME handles null state poorly3// NOTE revisit once design lock lands
Italic comment lines with colored TODO, FIXME, NOTE, or HACK tags.
The import and the props worth knowing about, in one place.
import { Editor28 } from "@/components/beste/piece/editor28";
<Editor28
comments={[
{
"tag": "TODO",
"text": "migrate to server components"
},
{
"tag": "FIXME",
"text": "handles null state poorly"
},
{
"tag": "NOTE",
"text": "revisit once design lock lands"
}
]}
/>const greet = (name: string) => `Hello, ${name}!`;AI Suggestion caption above a code line with a solid prefix, italic muted ghost text, and a blinking caret.
import { greet } from './greet';const user = { name: 'Ayşe' };const msg = greet(user.name);console.log(msg);
Code lines with colored gutter stripes showing added (emerald), modified (sky), and removed (rose) lines.
--primary: #f43f5e;--accent: #8b5cf6;--surface: #0ea5e9;
CSS lines with inline color swatch squares next to each hex value.
export function greet(name: string) {return `Hello, ${name}!`;}// Ship it
Theme-adaptive editor window with traffic-light header, filename, and a tokenized code body.