Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 24ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
H

HTML

Recently created Least recently created Recently updated Least recently updated

timmy / Mermaid Diagram Example

Last active 6 hours ago Diagram HTML Mermaid

此 HTML 範例展示如何使用 Mermaid CDN 與 JavaScript 將 Mermaid 語法轉換為流程圖,以快速視覺化流程設計。

0 0 0 1
1 <!doctype html>
2 <html lang="zh-TW">
3 <head>
4 <meta charset="UTF-8" />
5 <title>Mermaid Diagram Example</title>
6 <!-- 載入 Mermaid CDN -->
7 <script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
8 <script>
9 mermaid.initialize({ startOnLoad: true })
10 </script>