Bruce Ke
    • 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
    • Invite by email
      Invitee

      This note has no invitees

    • 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
    • Note Insights New
    • Engagement control
    • Make a copy
    • 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 Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy 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
  • Invite by email
    Invitee

    This note has no invitees

  • 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
    2
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: 'How to use HackMD' tags: 伴伴學 --- # 為什麼要學 [HackMD](https://medium.com/starrocket/hackmd-product-story-1e332f83d343) * 線上筆記,可跨平台 * 支援多人協作服務,也可作為簡單的筆記軟體,用以寫工作日誌、筆記、共筆 ... 等 * 可使用標籤(tag)進行分類與管理 * Marker好幫手,支援程式碼跟語法,例如 C、shell、YAML、MathJax、Uml ... etc. * 提供「簡報模式」跟「書籍模式」 * 請支持[國產優質筆記](https://github.com/hackmdio) ( github 可找到其 source code ) ---- # 什麼是 [Markdown](https://zh.wikipedia.org/wiki/Markdown) * Markdown 是一種輕量級標記式語言, 它有純文字標記的特性,讓編寫的可讀性提高,這是在以前很多電子郵件中就已經有的寫法,而目前也有很多網站都使用 Markdown 來撰寫說明文件或是在論壇上發表文章與發送訊息 * 相較 HTML 之下,不會夾雜很多不必要的標籤,讓可讀性提高。不需要像程式碼一樣縮排。 ---- ---- # 標題 # Heading ## Heading ## Heading ### Heading #### Heading ---- # 基本文字編輯 上標^上標^ 下標~下標~ * 基本文字編輯 * **粗體** * *斜體* * ~~刪除線~~ * ==Highlight== * 上標^上標^ * 下標~下標~ * {平仮名|ひらがな} * {down string|upper string} ---- # 程式碼 ```clike int i; ``` ```clike=10 showTime(1,sleepT,"usleep"); for (int i = 0; i < sleepLoop; ++i) { usleep(sleepMs * 1000); // wait } ``` ---- # Emoji :smiley: :heart_eyes: :point_right: [完整清單](https://github.com/ikatyang/emoji-cheat-sheet) ps: 實測結果,不是每個都可以正常顯示 ---- # 警告區塊 裡面可以嵌入 Emoji :::success :tada: 喔耶~~~ ::: :::info :mega: 這是訊息 ::: :::warning :zap: 注意 ::: :::danger :fire: 喔不 ::: ---- # 插入圖片 ![](https://i.imgur.com/sVpTZde.png) ![](https://i.imgur.com/OH4hAS4.png =200x300) ==250x300== 表示圖片 ==寛x長== ![](https://i.imgur.com/OH4hAS4.png =250x300) 或用 =10%x 表示==比例大小== ![](https://i.imgur.com/OH4hAS4.png =10%x) ---- # 插入影片 或 投影片 ![](https://i.imgur.com/GRb4ee3.png) ## youtube ![](https://i.imgur.com/CDYkaaj.png) {%youtube wBV1gYF87Hs %} ### Workground for Github 1. 範例: https://www.youtube.com/watch?v=8pXFktAbx5Y 2. 取得封面 URL: https://img.youtube.com/vi/8pXFktAbx5Y/sddefault.jpg ([參考](https://www.kocpc.com.tw/archives/273287)) 3. 製作一個 "圖片超連結" ``` [![](圖片url)](youtube URL) ``` [![](https://img.youtube.com/vi/8pXFktAbx5Y/sddefault.jpg)](https://www.youtube.com/watch?v=8pXFktAbx5Y) ## 圖片中嵌入文字 * 非標準,與 HackMD 無關 * 使用第三方服務 API: sirv.com * [使用說明](https://sirv.com/help/articles/dynamic-imaging/text/) 語法: ``` https://demo.sirv.com/oman.jpg?text=openlab_%22%E4%BC%B4%E4%BC%B4%E5%AD%B8%22 ``` 效果: * 中文無法顯示 ![_text->image_](https://demo.sirv.com/oman.jpg?text=openlab_%22%E4%BC%B4%E4%BC%B4%E5%AD%B8%22) * 字型大小會等距拉寬至圖片寬度 ![](https://demo.sirv.com/oman.jpg?text=helloworld) ## slideshare {%slideshare briansolis/26-disruptive-technology-trends-2016-2018-56796196 %} ### PDF **注意:請使用 https 的網址,否則可能會被您的瀏覽器阻擋載入** {%pdf https://www.w3.org/TR/WAI-WEBCONTENT/wai-pageauth.pdf %} ---- # 插入表格 |<span style="font-weight:normal">heading</span>| |:---------------------------------------------:| | Deveui | 000008fffe063800 | | -------- | -------- | | appskey | 1024f9a17f544cabaa21dc2500000000 | | nwkskey | aed9c85f49b9402dbaae7af200000000 | | appeui | 0000000000000000 | | Deveui | 000008fffe063800 | | :-------- | :-------- | | appskey | 1024f9a17f544cabaa21dc2500000000 | | nwkskey | aed9c85f49b9402dbaae7af200000000 | | appeui | 0000000000000000 | 向右對齊 | Deveui | 000008fffe063800 | | --------: | --------: | | appskey | 1024f9a17f544cabaa21dc2500000000 | | nwkskey | aed9c85f49b9402dbaae7af200000000 | | appeui | 0000000000000000 | 置中 | Deveui | 000008fffe063800 | | :--------: | :--------: | | appskey | 1024f9a17f544cabaa21dc2500000000 | | nwkskey | aed9c85f49b9402dbaae7af200000000 | | appeui | 0000000000000000 | ---- ## 註腳 註腳 1 連結[^first]. 註腳 2 連結[^second]. 行內註腳^[行內註腳的文字] 定義 重複的註腳參考[^second]. [^first]: 註腳 **也可以標記** 還可以有很多段落 [^second]: 註腳 文字 ## 定義清單 名詞 1 : 定義 1 快速連續項目 名詞 2 加上 *行內標記* : 定義 2 { 這些程式碼屬於 定義 2 的一部分 } 定義 2 的第三段落 _緊密樣式:_ 名詞 1 ~ 定義 1 名詞 2 ~ 定義 2a ~ 定義 2b ## 縮寫 這是 HTML 的縮寫範例 它會轉換 "HTML",但是縮寫旁邊其他的部分,例如:"xxxHTMLyyy",不受影響 *[HTML]: Hyper Text Markup Language ---- # 共享筆記 ## 如何分享 ![](https://i.imgur.com/KDnWcUM.png) ## 看誰在編輯?! ![](https://i.imgur.com/Kx80MXp.png) ## comment > [name=Bruce Ke] ---- # 引用 留言 > hello[name=Bruce Ke] > 筆誤! 正確書寫方式訂正 > [name="Bruce"][time=Sun, Jun 28, 2020 10:00 PM][color=yellow] --- > 引用[color=#907bf7] >> 巢狀引用區塊 [color=red] --- # 繪圖 ```mermaid pie title 2020年台灣發電結構與再生能源發電種類占比 "再生能源" : 5.4 "核能" : 11.24 "燃氣" : 35.7 "燃煤" : 45.02 "燃油" : 1.52 "抽蓄水力" : 1.13 ``` 更多繪圖 --- :bulb: 其實,小數點不用自己精算,但加起來還是要100喔。 :point_right: 更多數學式跟圖表的世界,可以到[這裡](https://hackmd.io/s/MathJax-and-UML-tw)探索。 --- # $\LaTeX$ 語法與示範 ## [Latex 介紹](https://zh.wikipedia.org/zh-tw/LaTeX) 在 HackMD 中,必須以$包圍住才會認得是 $\LaTeX$ 語法 (需緊鄰著數學式,中間不能有任何空白鍵) e.g. $x\times 3^0 + x\times 3^1 + x\times 3^2$ $$ { a+b \brace c+d } $$ $$ \overline{AB} $$ Ref: 1). [$\LaTeX$ 語法筆記](https://hackmd.io/@RintarouTW/%E6%84%9A%E5%8D%83%E6%85%AE%E3%81%AE%E7%AD%86%E8%A8%98%E6%9C%AC/%2F%40RintarouTW%2FLaTeX_%25E8%25AA%259E%25E6%25B3%2595%25E7%25AD%2586%25E8%25A8%2598) https://hackmd.io/@sysprog/gnu-linux-dev/https%3A%2F%2Fhackmd.io%2Fs%2FB1RwlM85Z 2). https://hackmd.io/s/MathJax-and-UML-tw ---- ![image alt](http://3.bp.blogspot.com/-hazaIdzHs8I/T7mvxvrAxNI/AAAAAAAABig/WFaYtokGa8Q/s400/%E6%93%B7%E5%8F%96%E9%81%B8%E5%8F%96%E5%8D%80%E5%9F%9F_006.png) <style> body{ background-color:transparent!important; /* background-color:blue!important*/  background-image: url("http://3.bp.blogspot.com/-hazaIdzHs8I/T7mvxvrAxNI/AAAAAAAABig/WFaYtokGa8Q/s400/%E6%93%B7%E5%8F%96%E9%81%B8%E5%8F%96%E5%8D%80%E5%9F%9F_006.png")!important; z-index:10000!important;   background-repeat: repeat-y!important; } .progress{ height:14px !important; } .progress span{ height:14px !important; background: url("dat")!important; .progress span:after, .progress span.nyancat{ content: "open"; background: url('http://3.bp.blogspot.com/-hazaIdzHs8I/T7mvxvrAxNI/AAAAAAAABig/WFaYtokGa8Q/s400/%E6%93%B7%E5%8F%96%E9%81%B8%E5%8F%96%E5%8D%80%E5%9F%9F_006.png')!important; </style>

    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