ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Markdown Editor live preview
โปรเจกต์ทั้งหมด

Markdown Editor

Write and preview markdown side by side without switching tools.

Writing markdown for blogs and docs meant switching between a separate editor and a separate previewer, with no live sync.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ใช้งานจริง|Next.js, TypeScript

มี deployment สาธารณะที่เปิดให้ทดลองใช้งาน

กรณีศึกษา

ก่อนใช้งาน

Writing markdown content for blogs and docs required switching between editors and previewers.

หลังใช้งาน

Write markdown on the left and see the rendered result on the right as you type, entirely in the browser.

วิธีแก้ปัญหา

Built a split-pane markdown editor, now at /markdown-editor in the Devtools Workbench suite, with a live preview from a small built-in renderer (headings, nested lists, tables, quotes, code blocks, links, bold and italic), safe link filtering, copy-source; nothing is saved, so the text is gone when the page is closed.

สิ่งที่ยังไม่แก้

The renderer is not CommonMark-complete; there is no syntax highlighting, export (HTML, PDF, or MDX) or themes, and nothing is saved between visits.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev