import type { Metadata } from "next";
import { EditorLoader } from "@/components/editor/editor-loader";
import { buildMetadata } from "@/lib/seo";

export const metadata: Metadata = buildMetadata({
  title: "Markdown Editor — Live Preview, Format, Export",
  description:
    "A free online Markdown editor with live preview, GitHub Flavored Markdown, syntax highlighting, autosave, and export to HTML or PDF.",
  path: "/editor",
});

export default function EditorPage() {
  return <EditorLoader />;
}
