f0rextasy

Markdown Editor

Component

About

A write/preview tabbed text area that renders typed Markdown (headings, bold, inline code, links, lists, code blocks) live for comment boxes, note apps, or README editors.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Markdown Editor to your project and fits it to your theme.

Code

How Markdown Editor is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { MarkdownEditor } from "@/components/ui/markdown-editor";

export default function MarkdownEditorDemo() {
  return (
    <div className="flex w-full max-w-xl items-center justify-center bg-background p-6 text-foreground">
      <MarkdownEditor className="w-full" />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    21
  • Stamp Seal

    Stamp Seal

    18
  • Network Graph

    Network Graph

    18
  • Board Checklist

    Board Checklist

    17
  • Navbar

    Navbar

    14
  • Running Order Timeline

    Running Order Timeline

    13
  • Milestone Chart

    Milestone Chart

    11
  • Empty State Card

    Empty State Card

    9