--- title: Markdown 最常用的語法 tags: 前端 --- # 自動產生目錄大綱的指令 [TOC] 檢視模式的左邊也會有樹狀結構 # 標題 ## 標題2 ### 標題3 ## 好大的字 標題是為了文件檔的結構 不要為了好大的字亂用標題 >< #### 標題4 ##### 標題5 小標 ###### 標題6 小標 # 列表 1. 111 2. 222 巢狀 - 111 - 222 tab shift tab # 程式碼 `單行程式` tab 要隔一行 function() { } 或用三個 ` ``` function() { } ``` ```javascript function() { } ``` ```javascript= function() { } ``` ```xml <h1></h1> ``` ```css h1 { color: red; } ``` # 引言 > I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it. # 有背景色的區塊 :::danger **千萬不可以: ::: :::info ::: :::warning ya ::: 這些顏色是有意義的^^ # 圖片   # 連結 [最常用的都在上面了,其他可以參考官方教學](https://hackmd.io/c/tutorials-tw/%2Fs%2Ftutorials-tw ) hackmd.io https://2022.stateofjs.com/en-US/ https://2022.stateofjs.com/en-US/?fbclid=IwAR27hJs7ak20kOiEDUt396lTbV3TzGVdMqZuP-rKEw53lN2-9m-QLSILRiY
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up