or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
從 0 到 1 的 GitHub Pages 教學手冊
影片教學
Windows:https://youtu.be/PldKaxOkN1o
Mac:https://youtu.be/DjgsqLLJrxM
開始前注意事項
- 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 →閱讀指南
GitHub 註冊
Sign up for GitHub
Skip this step
初次上傳
專案程式碼
GitHub Desktop 設定
Options
建立 Repository
從下圖會看到左邊有4個選項
create a repository
建立儲存庫History
會看到以下的初始化檔案紀錄推上 GitHub 伺服器
GitHub.com
GitHub Pages 設置
截止於此,你的專案可以傳給助教或老師檢閱囉
接下來是當建立儲存庫專案已被追蹤,修改後的操作
修改後上傳
專案程式碼
GitHub Desktop 操作
(1)
這代表1個檔案被修改過Commit to master
截止於此,修改後上傳已經完成囉
- 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 →補充
VS Code
當你建立好儲存庫,你的專案資料夾內有
.git
重新打開後 VS Code 會跳出以下的警示,找不到 Git 應用程式
這是因為 GitHub Desktop 是採內建 Git 應用程式
解決方案:
點擊連結去官方下載 Git 應用程式,全域安裝在你的系統內
GitHub Pages 404
這樣 GitHub Pages 會抓不到 index.html
你必須手動更改網址讓它指向 index.html
範例如下
忽略檔案
深入研究 Git
感謝牆