Markdown學習筆記

這是自己學習Markdown中作爲記錄的一篇博客,文本是源自於Macdown軟件的幫助,自己作了一定的修改。主要是作爲記錄。

一級標題

圖片

加粗

普通字體.換行沒有變化

二級標題

鏈接.

鏈接內加粗 本文檔內指定位置.

三級標題

  • 小標題,加圓點
    文本換行,但是顯示並沒有換行
* 代碼格式
內容完全按照文本格式來,寫什麼
顯示什麼

斜體:行內代碼格式 1 (Command-I)

換行後table鍵也可以達到段落代碼的形式

四級標題

添加郵箱動作: [email protected]
添加a鏈接a 鏈接

  • 圓點,分點描述
    • table後變爲空心圓點
      1. 再次table後變爲順序分點描述,並且不管前面標號爲多少,都是順序1234。
      2. Start each item (number-period-space) like 1.
      3. It doesn’t matter what number you use, I will render them sequentially
      4. So you might want to start each line with 1. and let me sort it out

帶有豎線的描述,類似於分塊

這是第一級

這是第二級

這是第三極

還是第一級

  • 分塊中的小圓點
  • 同上

換行加table鍵同樣有代碼塊的顯示

print('This is a code block')
print('The block must be preceded by a blank line')
print('Then indent at least 4 spaces or 1 tab')
	print('Nesting does nothing. Your code is displayed Literally')

上面和下面有看起來順眼的邊框



和上面一樣


二級標題的指定位置

表格

不是很常用,並且不是很好用,看看吧

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

You can align cell contents with syntax like this:

靠左 居中 靠右
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1
不知道這麼多代碼塊顯示符號是用來做什麼的,一個符號用全文它不香嗎

腦袋被踢了纔會用到的東西,連個提示都沒有。我用文本編輯寫代碼?

Option name Markup Result if enabled
Intra-word emphasis So A*maz*ing So Amazing
Strikethrough ~~Much wow~~ 刪除線
Underline 2 _So doge_ 下劃線
Quote 3 “操蛋的轉義字符” 雙引號
Highlight ==特殊符號需要帶轉義字符== 標記
Superscript hoge^(fuga) hoge小標號
Autolink http://t.co http://會識別的鏈接
Footnotes [^4] and [^4]: 4 and footnote 4

真香

一輩子不會用到幾次的公式

A S T = B
  1. 分點描述
    • 沒有順序
    • 都說了沒有順序
  2. 別問,問就是分點描述

又是二級標題

上面那個橫槓是二級標題的橫槓,下面那個橫槓可能是區分標註的


  1. 這是一個標註 ↩︎

  2. 標註的順序是按照文檔中出現的先後順序 ↩︎

  3. 標註的名字可以隨便取 ↩︎

  4. 這個不一定要寫在結尾 ↩︎

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章