劉杰
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Markdown語法簡介 **PHILOSOPHY** Markdown語法他是一個好寫且好讀為目的,然而可讀性是之中最為重要的! **INLINE HTML** > Markdown’s syntax is intended for one purpose: to be used as a format for writing for the web. Markdown語法也有一個很重要的目的是為了撰寫網頁。 > HTML is a publishing format; Markdown is a writing format. Thus, Markdown’s formatting syntax only addresses issues that can be conveyed in plain text. HTML是一種為了發表的格式,Marldown 語法則是一種撰寫的格式。 你通常可以直接使用HTML的TAGS在裡面: ``` This is a regular paragraph. <table> <tr> <td>Foo</td> <td>Foo</td> <td>Foo</td> </tr> </table> This is another regular paragraph. ``` This is a regular paragraph. <table> <tr> <td>Foo</td> <td>Foo</td> <td>Foo</td> </tr> </table> This is another regular paragraph. 一樣可以在裡面做出表格來~ `<a>`以及`<img>`這些指令也可以直接代替Markdown的語法使用~ 然後Markdown的語法部分不能使用在HTML裡面, E.g., you can’t use Markdown-style ***emphasis*** inside an HTML block. 像這個強調就不能使用。 ----- # 一些基本的使用~ ``` 斜體:在兩邊加上 *星號* 或是 _底線_ 左上角的I 粗體:在兩邊加上 **兩個星號** 或是 __兩個底線__ 或是左上角的B也可以做到 刪除線:在兩邊加上 ~~兩個波浪~~ 左上角的S 引言(註解): > 換行:需在最後面+`兩個空白鍵`·· > 先以··表示空白 在中間位置的引號也可以做到 ``` ![](https://i.imgur.com/mvQuJw8.png) ----- # 大標題 Markdown 提供了六種規格的,分別對應 Html 標籤中的`<h1> ~ <h6>` # 也可以按左上角H可以達到最大的H1的效果 ``` # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 ``` 顯示結果: # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 ----- # 有序無序的列表 用點的也很方便喔 ![](https://i.imgur.com/faxImUQ.png) 有序列表直接打 `數字`+ `.` + `空白鍵` 1. 有序A 2. 有序B 無序列表可以直接使用星號 * 無序列表A * 無序列表B 或是使用HTML語法 ``` <ul> <li>123 <li>123 </ul> ``` 顯示結果如下 <ul> <li>123 <li>123 </ul> ----- # 放入超連結 想把網址PO上去怎麼做: 連結兩邊加上`<` `>`就會產生超連結 <http://dillinger.io/> 如果只要顯示一串文字來代表超連結: 名稱兩邊加上`[` `]`然後再連結兩邊加上`(` `)`就可以將連結替換成文字連結 [Dillinger](http://dillinger.io/ "link") 產生圖片的方式: 將`[` `]`前+`!`,則可以產生圖片 (把滑鼠指向圖片可以看到註解) png後面那邊的雙引號才會是圖片顯示的文字喔像是我打Logo123,滑鼠只像游標的時候就會顯示出來 ![可以不輸入東西可是一定要有](https://raw.githubusercontent.com/adam-p/markdown-here/master/src/common/images/icon48.png "Logo123") ------ # 程式碼引用以及語法顏色出現 行內的 `程式碼` 用 `反引號` 包起來 區塊的 `程式碼` 用 ```三個反引號```包起來 記得要加上語言名稱 比方 javascript php等等。 當然也可以使用去做選取也很方便 ![](https://i.imgur.com/hsqMarf.png) 當你這樣打的時候: ![](https://i.imgur.com/KpgptwG.png) 會顯示成這樣: ```javascript var s = "JavaScript 語法高亮"; alert(s); ``` ```php $s = "PHP 語法高亮"; echo $s; ``` ------ # 表格怎麼做 可以使用跟HTML的語法一樣使用table 跟 tr 以及 td 很方便~ ``` <table> <tr> <td>123</td> <td>345</td> <td>45o</td> </tr> <tr> <td>456</td> <td>Fo456o</td> <td>Fo456o</td> </tr> <tr> <td>Fo456o</td> <td>Fo345o</td> <td>Fo4657o</td> </tr> </table> ``` 顯示如下 <table> <tr> <td>123</td> <td>345</td> <td>45o</td> </tr> <tr> <td>456</td> <td>Fo456o</td> <td>Fo456o</td> </tr> <tr> <td>Fo456o</td> <td>Fo345o</td> <td>Fo4657o</td> </tr> </table> ------- # 參考資料 [Markdown文件](https://markdown.tw/) [Luka Hackmd教學](https://gist.github.com/codingluka/32fba06ed62821466b726d3c0c9e5fb4)

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

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

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

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.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully