Try   HackMD

Markdown語法

tags: Markdown HackMD

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
初階入門者必備

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
設定 標題、層級與標籤(tag)

#

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
設定 標題、層級與標籤(tag)

H1 H2 H3 tags
# h1 ## h2 ### h3 # ######tags:

若層級設好之後,使用[toc]指令,可以自動產生目錄樹

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
圖示與emoji(
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
)

:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
ICON與emoji emoji有非常多,可以到 emoji列表看看

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
粗體 斜體 刪除線 底線 上標 下標超鏈結google
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

粗體 斜體 刪除線 底線 超鏈結google

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

[markdown]語法
**粗體**  *斜體*  ~~刪除線~~ ++底線++^^~~ [超鏈結google](http://www.google.com):link:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
無序與有序清單(列表)

無序列表

早上起床第一件事

  • 關鬧鐘
  • A1
  • A2
  • 刷牙
  • B1
  • B2
  • 上廁所
  • C1
  • C2
[markdown]語法 早上起床第一件事 + 關鬧鐘 + A1 + A2 - 刷牙 - B1 - B2 * 上廁所 * C1 * C2

有序列表 早上起床第一件事

  1. 關鬧鐘
  2. 刷牙
  3. 上廁所
[markdown]語法 有序列表 早上起床第一件事 1. 關鬧鐘 2. 刷牙 3. 上廁所

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
表格

Column 1 Column 2 Column 3
Text Text Text

:-靠左 :-:置中 -:靠右

[markdown]語法 | Column 1 | Column 2 | Column 3 | | :---- | :-----: | ----: | | Text | Text | Text |

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
插入圖片

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

[markdown]語法
![Funny Dog](https://i.imgur.com/upz9JMY.jpeg "A cute dog")
![image alt](https://i.imgur.com/upz9JMY.jpeg =200x) 
第二個圖可以指定像素px,依照比例縮放

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
程式碼區塊

markdown的程式碼區塊用連續的```+程式語言(檔案格式), 再用```做結尾,我們以python c json為例來示範一下

  1. json : ‵‵‵json= 與 ```json=
{ "firstName": "John", "lastName": "Smith", "age": 25 }

[markdown]語法 ```json= { "firstName": "John", "lastName": "Smith", "age": 25 } ```

  1. c/c++ : ‵‵‵c= 與 ```clike=
printf();
  1. python : ‵‵‵python=
print("Hello!")
  1. 一小段程式碼prinf('Hello') 輸出 Hello
[markdown]語法
一小段程式碼`prinf('Hello')` 輸出 Hello

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
區塊(顏色)

[markdown]語法 :::success :::
[markdown]語法 :::info :::
[markdown]語法 :::warning :::
[markdown]語法 :::danger :::
Click me!

Supprised!

[markdown]語法 :::spoiler Click me! Supprised! :::

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
To-do List

  • 選項A
  • 選項B
    • 選項B-1
    • 選項B-2
      • 選項B-2-1
      • 選項B-2-2
  • 選項C
[markdown]語法 - [ ] 選項A - [x] 選項B - [ ] 選項B-1 - [x] 選項B-2 - [ ] 選項B-2-1 - [x] 選項B-2-2 - [ ] 選項C

數學方程式

  1. 二次方程式的公式解
    x=b±b24ac2a

流程圖

  1. 循序圖
Created with Raphaël 2.2.0艾莉絲艾莉絲包柏包柏哈摟,你好嗎?包柏思考中我很好,謝謝!艾莉絲回應最近過得怎樣?
  1. 流程圖
Created with Raphaël 2.2.0開始Input a,ba<b?結束yesno
  1. 甘特圖
2022-04-012022-07-012022-10-012023-01-012023-04-012023-07-012023-10-012024-01-012024-04-012024-07-012024-10-012025-01-012025-04-01發放問卷           發放問卷           統計分析           統計分析           計畫A計畫B甘特圖