typora笔记
内联公式
原文链接:https://blog.csdn.net/weixin_43444930/article/details/119791074
删除线
~~删除线~~
高亮
==高亮==
文字上标 文字下标
文字^上标^ 文字~下标~
注释
<!--注释-->
跳转
[baidu](https:www.baidu.com "百度")
[百度][Ref]
[Ref]: https:www.baidu.com "百度"
[打开外部文件](./ "文件夹")
跳转到这里了!
<a href="#id1">点我跳转</a>
<a name="id1">跳转到这里了!</a>
[提示跳转的文字或直接给出id名字](#id)
<a id="id">跳转到这里了</a>
[点击我,就会跳到该标题处](#标题)
注意!!注意!!注意!! #和文字之间没有空格
插入图片

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ufXkHzYw-1679380473653)(eb79e3fc238a2030228cd4e4795aab3f.jpg “壁纸!!!”)]
插入语音
<audio controls="controls" loop="loop">
<source src="路径" type="audio/mp3"></source>
</audio>
插入视频
<video src="路径" />
字体颜色/大小
this text is red
字体颜色为红色,大小为3
字体颜色为蓝色,大小为4
字体颜色为紫罗兰,大小为6
<span style="color:red">this text is red</span>
<font size=3 color="red" >字体颜色为红色,大小为3</font>
<font size=4 color="blue">字体颜色为蓝色,大小为4</font>
<font size=6 color="violet">字体颜色为紫罗兰,大小为6</font>
对齐方式
左对齐
中间对齐
右对齐
<p align="left">左对齐</p>
<p align="center">中间对齐</p>
<p align="right">右对齐</p>
公式
2 , 5 a 5 b 6 a + b ‾ a + b ‾ 1 2 3 4 \sqrt{2},\sqrt{5}\\ a^5 b_6\\ \underline{a+b}\\ \overline{a+b}\\ \frac{1}{2}\\ \frac{\sqrt{3}}{4} 2,5a5b6a+ba+b2143
$$
\sqrt{2},\sqrt{5}\\
a^5 b_6\\
\underline{a+b}\\
\overline{a+b}\\
\frac{1}{2}\\
\frac{\sqrt{3}}{4}
$$
文字边框
使用 Ctrl+Alt+Del 重启电脑
使用 <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Del</kbd> 重启电脑
图标
😄 :smile: |😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
😴 :sleeping: 😟 :worried: 😦 :frowning:
😧 :anguished: 😮 :open_mouth: 😬 :grimacing:
😕 :confused: 😯 :hushed: 😑 :expressionless:
😒 :unamused: 😅 :sweat_smile: 😓 :sweat:
😥 :disappointed_relieved: 😩 :weary: 😔 :pensive:
😞 :disappointed: 😖 :confounded: 😨 :fearful:
😰 :cold_sweat: 😣 :persevere: 😢 :cry:
😭 :sob: 😂 :joy: 😲 :astonished:
😱 :scream: 😫 :tired_face:
😠 :angry: 😡 :rage: 😤 :triumph:
😪 :sleepy: 😋 :yum: 😷 :mask:
😎 :sunglasses: 😵 :dizzy_face: 👿 :imp:
😈 :smiling_imp: 😐 :neutral_face: 😶 :no_mouth:
😇 :innocent: 👽 :alien: 💛 :yellow_heart:
💙 :blue_heart: 💜 :purple_heart: ❤️ :heart:
💚 :green_heart: 💔 :broken_heart: 💓 :heartbeat:
💗 :heartpulse: 💕 :two_hearts: 💞 :revolving_hearts:
💘 :cupid: 💖 :sparkling_heart: ✨ :sparkles:
⭐️ :star: 🌟 :star2: 💫 :dizzy:
💥 :boom: 💥 :collision: 💢 :anger:
❗️ :exclamation: ❓ :question: ❕ :grey_exclamation:
❔ :grey_question: 💤 :zzz: 💨 :dash:
💦 :sweat_drops: 🎶 :notes: 🎵 :musical_note:
🔥 :fire: 💩 :hankey: 💩 :poop:
💩 :shit: 👍 :+1: 👍 :thumbsup:
👎 :-1: 👎 :thumbsdown: 👌 :ok_hand:
👊 :punch: 👊 :facepunch: ✊ :fist:
✌️ :v: 👋 :wave: ✋ :hand:
✋ :raised_hand: 👐 :open_hands: ☝️ :point_up:
👇 :point_down: 👈 :point_left: 👉 :point_right:
🙌 :raised_hands: 🙏 :pray: 👆 :point_up_2:
👏 :clap: 💪 :muscle: 🤘 :metal:
🖕 :fu: 🚶 :walking: 🏃 :runner:
🏃 :running: 👫 :couple: 👪 :family:
👬 :two_men_holding_hands: 👭 :two_women_holding_hands: 💃 :dancer:
👯 :dancers: 🙆 :ok_woman: 🙅 :no_good:
💁 :information_desk_person: 🙋 :raising_hand: 👰 :bride_with_veil:
🙎 :person_with_pouting_face: 🙍 :person_frowning: 🙇 :bow:
:couplekiss: :couplekiss: 💑 :couple_with_heart: 💆 :massage:
💇 :haircut: 💅 :nail_care: 👦 :boy:
👧 :girl: 👩 :woman: 👨 :man:
👶 :baby: 👵 :older_woman: 👴 :older_man:
👱 :person_with_blond_hair: 👲 :man_with_gua_pi_mao: 👳 :man_with_turban:
👷 :construction_worker: 👮 :cop: 👼 :angel:
👸 :princess: 😺 :smiley_cat: 😸 :smile_cat:
😻 :heart_eyes_cat: 😽 :kissing_cat: 😼 :smirk_cat:
🙀 :scream_cat: 😿 :crying_cat_face: 😹 :joy_cat:
😾 :pouting_cat: 👹 :japanese_ogre: 👺 :japanese_goblin:
🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:
💂 :guardsman: 💀 :skull: 🐾 :feet:
👄 :lips: 💋 :kiss: 💧 :droplet:
👂 :ear: 👀 :eyes: 👃 :nose:
👅 :tongue: 💌 :love_letter: 👤 :bust_in_silhouette:
👥 :busts_in_silhouette: 💬 :speech_balloon: 💭 :thought_balloon:
Nature
☀️ :sunny: ☔️ :umbrella: ☁️ :cloud:
❄️ :snowflake: ⛄️ :snowman: ⚡️ :zap:
🌀 :cyclone: 🌁 :foggy: 🌊 :ocean:
🐱 :cat: 🐶 :dog: 🐭 :mouse:
🐹 :hamster: 🐰 :rabbit: 🐺 :wolf:
🐸 :frog: 🐯 :tiger: 🐨 :koala:
🐻 :bear: 🐷 :pig: 🐽 :pig_nose:
🐮 :cow: 🐗 :boar: 🐵 :monkey_face:
🐒 :monkey: 🐴 :horse: 🐎 :racehorse:
🐫 :camel: 🐑 :sheep: 🐘 :elephant:
🐼 :panda_face: 🐍 :snake: 🐦 :bird:
🐤 :baby_chick: 🐥 :hatched_chick: 🐣 :hatching_chick:
🐔 :chicken: 🐧 :penguin: 🐢 :turtle:
🐛 :bug: 🐝 :honeybee: 🐜 :ant:
🐞 :beetle: 🐌 :snail: 🐙 :octopus:
🐠 :tropical_fish: 🐟 :fish: 🐳 :whale:
🐋 :whale2: 🐬 :dolphin: 🐄 :cow2:
🐏 :ram: 🐀 :rat: 🐃 :water_buffalo:
🐅 :tiger2: 🐇 :rabbit2: 🐉 :dragon:
🐐 :goat: 🐓 :rooster: 🐕 :dog2:
🐖 :pig2: 🐁 :mouse2: 🐂 :ox:
🐲 :dragon_face: 🐡 :blowfish: 🐊 :crocodile:
🐪 :dromedary_camel: 🐆 :leopard: 🐈 :cat2:
🐩 :poodle: 🐾 :paw_prints: 💐 :bouquet:
🌸 :cherry_blossom: 🌷 :tulip: 🍀 :four_leaf_clover:
🌹 :rose: 🌻 :sunflower: 🌺 :hibiscus:
🍁 :maple_leaf: 🍃 :leaves: 🍂 :fallen_leaf:
🌿 :herb: 🍄 :mushroom: 🌵 :cactus:
🌴 :palm_tree: 🌲 :evergreen_tree: 🌳 :deciduous_tree:
🌰 :chestnut: 🌱 :seedling: 🌼 :blossom:
🌾 :ear_of_rice: 🐚 :shell: 🌐 :globe_with_meridians:
🌞 :sun_with_face: 🌝 :full_moon_with_face: 🌚 :new_moon_with_face:
🌑 :new_moon: 🌒 :waxing_crescent_moon: 🌓 :first_quarter_moon:
🌔 :waxing_gibbous_moon: 🌕 :full_moon: 🌖 :waning_gibbous_moon:
🌗 :last_quarter_moon: 🌘 :waning_crescent_moon: 🌜 :last_quarter_moon_with_face:
🌛 :first_quarter_moon_with_face: 🌔 :moon: 🌍 :earth_africa:
🌎 :earth_americas: 🌏 :earth_asia: 🌋 :volcano:
🌌 :milky_way: ⛅️ :partly_sunny:
Object
🎍 :bamboo: 💝 :gift_heart: 🎎 :dolls:
🎒 :school_satchel: 🎓 :mortar_board: 🎏 :flags:
🎆 :fireworks: 🎇 :sparkler: 🎐 :wind_chime:
🎑 :rice_scene: 🎃 :jack_o_lantern: 👻 :ghost:
🎅 :santa: 🎄 :christmas_tree: 🎁 :gift:
🔔 :bell: 🔕 :no_bell: 🎋 :tanabata_tree:
🎉 :tada: 🎊 :confetti_ball: 🎈 :balloon:
🔮 :crystal_ball: 💿 :cd: 📀 :dvd:
💾 :floppy_disk: 📷 :camera: 📹 :video_camera:
🎥 :movie_camera: 💻 :computer: 📺 :tv:
📱 :iphone: ☎️ :phone: ☎️ :telephone:
📞 :telephone_receiver: 📟 :pager: 📠 :fax:
💽 :minidisc: 📼 :vhs: 🔉 :sound:
🔈 :speaker: 🔇 :mute: 📢 :loudspeaker:
📣 :mega: ⌛️ :hourglass: ⏳ :hourglass_flowing_sand:
⏰ :alarm_clock: ⌚️ :watch: 📻 :radio:
📡 :satellite: ➿ :loop: 🔍 :mag:
🔎 :mag_right: 🔓 :unlock: 🔒 :lock:
🔏 :lock_with_ink_pen: 🔐 :closed_lock_with_key: 🔑 :key:
💡 :bulb: 🔦 :flashlight: 🔆 :high_brightness:
🔅 :low_brightness: 🔌 :electric_plug: 🔋 :battery:
📲 :calling: ✉️ :email: 📫 :mailbox:
📮 :postbox: 🛀 :bath: 🛁 :bathtub:
🚿 :shower: 🚽 :toilet: 🔧 :wrench:
🔩 :nut_and_bolt: 🔨 :hammer: 💺 :seat:
💰 :moneybag: 💴 :yen: 💵 :dollar:
💷 :pound: 💶 :euro: 💳 :credit_card:
💸 :money_with_wings: 📧 :e-mail: 📥 :inbox_tray:
📤 :outbox_tray: ✉️ :envelope: 📨 :incoming_envelope:
📯 :postal_horn: 📪 :mailbox_closed: 📬 :mailbox_with_mail:
📭 :mailbox_with_no_mail: 🚪 :door: 🚬 :smoking:
💣 :bomb: 🔫 :gun: 🔪 :hocho:
💊 :pill: 💉 :syringe: 📄 :page_facing_up:
📃 :page_with_curl: 📑 :bookmark_tabs: 📊 :bar_chart:
📈 :chart_with_upwards_trend: 📉 :chart_with_downwards_trend: 📜 :scroll:
📋 :clipboard: 📆 :calendar: 📅 :date:
📇 :card_index: 📁 :file_folder: 📂 :open_file_folder:
✂️ :scissors: 📌 :pushpin: 📎 :paperclip:
✒️ :black_nib: ✏️ :pencil2: 📏 :straight_ruler:
📐 :triangular_ruler: 📕 :closed_book: 📗 :green_book:
📘 :blue_book: 📙 :orange_book: 📓 :notebook:
📔 :notebook_with_decorative_cover: 📒 :ledger: 📚 :books:
🔖 :bookmark: 📛 :name_badge: 🔬 :microscope:
🔭 :telescope: 📰 :newspaper: 🏈 :football:
🏀 :basketball: ⚽️ :soccer: ⚾️ :baseball:
🎾 :tennis: 🎱 :8ball: 🏉 :rugby_football:
🎳 :bowling: ⛳️ :golf: 🚵 :mountain_bicyclist:
🚴 :bicyclist: 🏇 :horse_racing: 🏂 :snowboarder:
🏊 :swimmer: 🏄 :surfer: 🎿 :ski:
♠️ :spades: ♥️ :hearts: ♣️ :clubs:
♦️ :diamonds: 💎 :gem: 💍 :ring:
🏆 :trophy: 🎼 :musical_score: 🎹 :musical_keyboard:
🎻 :violin: 👾 :space_invader: 🎮 :video_game:
🃏 :black_joker: 🎴 :flower_playing_cards: 🎲 :game_die:
🎯 :dart: 🀄️ :mahjong: 🎬 :clapper:
📝 :memo: 📝 :pencil: 📖 :book:
🎨 :art: 🎤 :microphone: 🎧 :headphones:
🎺 :trumpet: 🎷 :saxophone: 🎸 :guitar:
👞 :shoe: 👡 :sandal: 👠 :high_heel:
💄 :lipstick: 👢 :boot: 👕 :shirt:
👕 :tshirt: 👔 :necktie: 👚 :womans_clothes:
👗 :dress: 🎽 :running_shirt_with_sash: 👖 :jeans:
👘 :kimono: 👙 :bikini: 🎀 :ribbon:
🎩 :tophat: 👑 :crown: 👒 :womans_hat:
👞 :mans_shoe: 🌂 :closed_umbrella: 💼 :briefcase:
👜 :handbag: 👝 :pouch: 👛 :purse:
👓 :eyeglasses: 🎣 :fishing_pole_and_fish: ☕️ :coffee:
🍵 :tea: 🍶 :sake: 🍼 :baby_bottle:
🍺 :beer: 🍻 :beers: 🍸 :cocktail:
🍹 :tropical_drink: 🍷 :wine_glass: 🍴 :fork_and_knife:
🍕 :pizza: 🍔 :hamburger: 🍟 :fries:
🍗 :poultry_leg: 🍖 :meat_on_bone: 🍝 :spaghetti:
🍛 :curry: 🍤 :fried_shrimp: 🍱 :bento:
🍣 :sushi: 🍥 :fish_cake: 🍙 :rice_ball:
🍘 :rice_cracker: 🍚 :rice: 🍜 :ramen:
🍲 :stew: 🍢 :oden: 🍡 :dango:
🥚 :egg: 🍞 :bread: 🍩 :doughnut:
🍮 :custard: 🍦 :icecream: 🍨 :ice_cream:
🍧 :shaved_ice: 🎂 :birthday: 🍰 :cake:
🍪 :cookie: 🍫 :chocolate_bar: 🍬 :candy:
🍭 :lollipop: 🍯 :honey_pot: 🍎 :apple:
🍏 :green_apple: 🍊 :tangerine: 🍋 :lemon:
🍒 :cherries: 🍇 :grapes: 🍉 :watermelon:
🍓 :strawberry: 🍑 :peach: 🍈 :melon:
🍌 :banana: 🍐 :pear: 🍍 :pineapple:
🍠 :sweet_potato: 🍆 :eggplant: 🍅 :tomato:
🌽 :corn:
🏠 :house: 🏡 :house_with_garden: 🏫 :school:
🏢 :office: 🏣 :post_office: 🏥 :hospital:
🏦 :bank: 🏪 :convenience_store: 🏩 :love_hotel:
🏨 :hotel: 💒 :wedding: ⛪️ :church:
🏬 :department_store: 🏤 :european_post_office: 🌇 :city_sunrise:
🌆 :city_sunset: 🏯 :japanese_castle: 🏰 :european_castle:
⛺️ :tent: 🏭 :factory: 🗼 :tokyo_tower:
🗾 :japan: 🗻 :mount_fuji: 🌄 :sunrise_over_mountains:
🌅 :sunrise: 🌠 :stars: 🗽 :statue_of_liberty:
🌉 :bridge_at_night: 🎠 :carousel_horse: 🌈 :rainbow:
🎡 :ferris_wheel: ⛲️ :fountain: 🎢 :roller_coaster:
🚢 :ship: 🚤 :speedboat: ⛵️ :boat:
⛵️ :sailboat: 🚣 :rowboat: ⚓️ :anchor:
🚀 :rocket: ✈️ :airplane: 🚁 :helicopter:
🚂 :steam_locomotive: 🚊 :tram: 🚞 :mountain_railway:
🚲 :bike: 🚡 :aerial_tramway: 🚟 :suspension_railway:
🚠 :mountain_cableway: 🚜 :tractor: 🚙 :blue_car:
🚘 :oncoming_automobile: 🚗 :car: 🚗 :red_car:
🚕 :taxi: 🚖 :oncoming_taxi: 🚛 :articulated_lorry:
🚌 :bus: 🚍 :oncoming_bus: 🚨 :rotating_light:
🚓 :police_car: 🚔 :oncoming_police_car: 🚒 :fire_engine:
🚑 :ambulance: 🚐 :minibus: 🚚 :truck:
🚋 :train: 🚉 :station: 🚆 :train2:
🚅 :bullettrain_front: 🚄 :bullettrain_side: 🚈 :light_rail:
🚝 :monorail: 🚃 :railway_car: 🚎 :trolleybus:
🎫 :ticket: ⛽️ :fuelpump: 🚦 :vertical_traffic_light:
🚥 :traffic_light: ⚠️ :warning: 🚧 :construction:
🔰 :beginner: 🏧 :atm: 🎰 :slot_machine:
🚏 :busstop: 💈 :barber: ♨️ :hotsprings:
🏁 :checkered_flag: 🎌 :crossed_flags: 🏮 :izakaya_lantern:
🗿 :moyai: 🎪 :circus_tent: 🎭 :performing_arts:
📍 :round_pushpin: 🚩 :triangular_flag_on_post: 🇯🇵 :jp:
🇰🇷 :kr: 🇨🇳 :cn: 🇺🇸 :us:
🇫🇷 :fr: 🇪🇸 :es: 🇮🇹 :it:
🇷🇺 :ru: 🇬🇧 :gb: 🇬🇧 :uk:
🇩🇪 :de:
英文字体颜色
$\textcolor{GreenYellow}{GreenYellow} $
Y
e
l
l
o
w
\textcolor{Yellow}{Yellow}
Yellow
$\textcolor{Goldenrod}{Goldenrod} $
D
a
n
d
e
l
i
o
n
\textcolor{Dandelion}{Dandelion}
Dandelion
$\textcolor{Apricot}{Apricot} $
P
e
a
c
h
\textcolor{Peach}{Peach}
Peach
$\textcolor{Melon}{Melon} $
Y
e
l
l
o
w
O
r
a
n
g
e
\textcolor{YellowOrange}{YellowOrange}
YellowOrange
$\textcolor{Orange}{Orange} $
B
u
r
n
t
O
r
a
n
g
e
\textcolor{BurntOrange}{BurntOrange}
BurntOrange
B
i
t
t
e
r
s
w
e
e
t
\textcolor{Bittersweet}{Bittersweet}
Bittersweet
$\textcolor{RedOrange}{RedOrange} $
M
a
h
o
g
a
n
y
\textcolor{Mahogany}{Mahogany}
Mahogany
$\textcolor{Maroon}{Maroon} $
B
r
i
c
k
R
e
d
\textcolor{BrickRed}{BrickRed}
BrickRed
$\textcolor{Red}{Red} $
O
r
a
n
g
e
R
e
d
\textcolor{OrangeRed}{OrangeRed}
OrangeRed
R
u
b
i
n
e
R
e
d
\textcolor{RubineRed}{RubineRed}
RubineRed
W
i
l
d
S
t
r
a
w
b
e
r
r
y
\textcolor{WildStrawberry}{WildStrawberry}
WildStrawberry
S
a
l
m
o
n
\textcolor{Salmon}{Salmon}
Salmon
C
a
r
n
a
t
i
o
n
P
i
n
k
\textcolor{CarnationPink}{CarnationPink}
CarnationPink
$\textcolor{Magenta}{Magenta} $
V
i
o
l
e
t
R
e
d
\textcolor{VioletRed}{VioletRed}
VioletRed
$\textcolor{Rhodamine}{Rhodamine} $
M
u
l
b
e
r
r
y
\textcolor{Mulberry}{Mulberry}
Mulberry
$\textcolor{RedViolet}{RedViolet} $
F
u
c
h
s
i
a
\textcolor{Fuchsia}{Fuchsia}
Fuchsia
$\textcolor{Lavender}{Lavender} $
T
h
i
s
t
l
e
\textcolor{Thistle}{Thistle}
Thistle
$\textcolor{Orchid}{Orchid} $
D
a
r
k
O
r
c
h
i
d
\textcolor{DarkOrchid}{DarkOrchid}
DarkOrchid
$\textcolor{Purple}{Purple} $
P
l
u
m
\textcolor{Plum}{Plum}
Plum
$\textcolor{Violet}{Violet} $
R
o
y
a
l
P
u
r
p
l
e
\textcolor{RoyalPurple}{RoyalPurple}
RoyalPurple
B
l
u
e
V
i
o
l
e
t
\textcolor{BlueViolet}{BlueViolet}
BlueViolet
P
e
r
i
w
i
n
k
l
e
\textcolor{Periwinkle}{Periwinkle}
Periwinkle
C
a
d
e
t
B
l
u
e
\textcolor{CadetBlue}{CadetBlue}
CadetBlue
C
o
r
n
f
l
o
w
e
r
B
l
u
e
\textcolor{CornflowerBlue}{CornflowerBlue}
CornflowerBlue
M
i
d
n
i
g
h
t
B
l
u
e
\textcolor{MidnightBlue}{MidnightBlue}
MidnightBlue
$\textcolor{NavyBlue}{NavyBlue} $
R
o
y
a
l
B
l
u
e
\textcolor{RoyalBlue}{RoyalBlue}
RoyalBlue
$\textcolor{Blue}{Blue} $
C
e
r
u
l
e
a
n
\textcolor{Cerulean}{Cerulean}
Cerulean
$\textcolor{Cyan}{Cyan} $
P
r
o
c
e
s
s
B
l
u
e
\textcolor{ProcessBlue}{ProcessBlue}
ProcessBlue
$\textcolor{SkyBlue}{SkyBlue} $
T
u
r
q
u
o
i
s
e
\textcolor{Turquoise}{Turquoise}
Turquoise
$\textcolor{TealBlue}{TealBlue} $
A
q
u
a
m
a
r
i
n
e
\textcolor{Aquamarine}{Aquamarine}
Aquamarine
$\textcolor{BlueGreen}{BlueGreen} $
E
m
e
r
a
l
d
\textcolor{Emerald}{Emerald}
Emerald
J
u
n
g
l
e
G
r
e
e
n
\textcolor{JungleGreen}{JungleGreen}
JungleGreen
$\textcolor{SeaGreen}{SeaGreen} $
G
r
e
e
n
\textcolor{Green}{Green}
Green
F
o
r
e
s
t
G
r
e
e
n
\textcolor{ForestGreen}{ForestGreen}
ForestGreen
$\textcolor{PineGreen}{PineGreen} $
L
i
m
e
G
r
e
e
n
\textcolor{LimeGreen}{LimeGreen}
LimeGreen
Y
e
l
l
o
w
G
r
e
e
n
\textcolor{YellowGreen}{YellowGreen}
YellowGreen
S
p
r
i
n
g
G
r
e
e
n
\textcolor{SpringGreen}{SpringGreen}
SpringGreen
O
l
i
v
e
G
r
e
e
n
\textcolor{OliveGreen}{OliveGreen}
OliveGreen
$\textcolor{RawSienna}{RawSienna} $
S
e
p
i
a
\textcolor{Sepia}{Sepia}
Sepia
$\textcolor{Brown}{Brown} $
T
a
n
\textcolor{Tan}{Tan}
Tan
$\textcolor{Gray}{Gray} $
B
l
a
c
k
\textcolor{Black}{Black}
Black
图表
英文状态下 ```mermaid 回车 (Esc下方的按键)
graph TD;
A-->B;
A-->C;
B-->D;
D-->E;
D-->F;
graph LR;
A[方形]-->B(圆角)
B-->C{条件a}
C-->|a=1|D[结果1]
C-->|a=2|E[结果2]
英文状态 ```mermaid
flowchat 回车
st=>start: 开始框
op=>operation: 处理框
cond=>condition: 判断框(是或否?)
sub1=>subroutine: 子流程
io=>inputoutput: 输入输出框
e=>end: 结束框
st->op->cond
cond(yes)->io->e
cond(no)->sub1(right)->op
st=>start: 开始框
op=>operation: 处理框
cond=>condition: 判断框(是或否?)
sub1=>subroutine: 子流程
io=>inputoutput: 输入输出框
e=>end: 结束框
st(right)->op(right)->cond
cond(yes)->io(bottom)->e
cond(no)->sub1(right)->op
UML时序图
- 先输入```mermaid (或)sequence
- ->> 代表实线箭头,–>> 则代表虚线箭头
- -> 直线,–>虚线
- 使用sequenceDiagram 则不使用``sequence
sequenceDiagram
客户->>银行柜台: 我要存钱
银行柜台-->>后台: 改一下这个账户数字哦
后台-->银行柜台: 账户的数字改完了,明天起息
银行柜台->客户: 好了,给你回单 ,下一位
pie
title Key elements in Product X
"Calcium" : 42
"Potassium" : 50
"Magnesium" : 3
"Iron" : 5
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}
%% 语法示例
gantt
dateFormat YYYY-MM-DD
title 软件开发甘特图
section 设计
需求 :done, des1, 2014-01-06,2014-01-08
原型 :active, des2, 2014-01-09, 3d
UI设计 : des3, after des2, 5d
未来任务 : des4, after des3, 5d
section 开发
学习准备理解需求 :crit, done, 2014-01-06,24h
设计框架 :crit, done, after des2, 2d
开发 :crit, active, 3d
未来任务 :crit, 5d
耍 :3d
section 测试
功能测试 :active, a1, after des3, 3d
压力测试 :after a1 , 20h
测试报告 : 48h
v2
State1: The state with a note
note right of State1
Important information! You can write
notes.
end note
State1 --> State2
note left of State2 : This is the note to the left.
```mermaid
stateDiagram-v2
[*] --> Active
state Active {
[*] --> NumLockOff
NumLockOff --> NumLockOn : EvNumLockPressed
NumLockOn --> NumLockOff : EvNumLockPressed
--
[*] --> CapsLockOff
CapsLockOff --> CapsLockOn : EvCapsLockPressed
CapsLockOn --> CapsLockOff : EvCapsLockPressed
--
[*] --> ScrollLockOff
ScrollLockOff --> ScrollLockOn : EvScrollLockPressed
ScrollLockOn --> ScrollLockOff : EvScrollLockPressed
}