/ 工具
■/ 工具搜尋
109 款工具
/ Markdown 預覽
/ 選定的工具
■Markdown 預覽 - 免費 格式化 工具
即時預覽 Markdown 內容,並支援 GitHub Flavored Markdown
■ 01
甚麼是 Markdown?
Markdown 是一種輕量的標記語言,用於以純文字編輯器建立格式化文字。它由 John Gruber 於 2004 年建立,並已成為文件、README 檔案與內容撰寫的標準…
■ 02
運作原理是甚麼?
在輸入區輸入 Markdown,即可即時看到呈現的 HTML 預覽。此工具支援 GitHub Flavored Markdown(GFM)功能,包括表格、任務清單、刪除線與圍欄式程式碼區塊。支援的語…
■ 03
範例情境
涵蓋標題與文字、清單與程式碼區塊,讓你能快速比較常見的輸入與輸出。
/ 相關工具
/ 程式碼
■選定工具的原始碼,與右側的即時版本並列顯示。
/ 原始碼
TypeScript
typescript
// Using markdown-it library for Markdown parsing
import MarkdownIt from 'markdown-it';
// Initialize with GFM-like options
const md = new MarkdownIt({
html: true, // Enable HTML tags in source
linkify: true, // Autoconvert URL-like text to links
typographer: true, // Enable smartquotes and other typographic replacements
breaks: true // Convert \n to <br>