Markdown guide FOR ATOM
- 測試一下github page與atom使用的markdown表現分別
- Latex, emoji無法使用(?)
- :dizzy:
- toc不能用(?)
Atom Guide
ctrl+shift+p可以call terminal出黎- Project Folder請唔好有中文or符號, Markdown Preview會睇唔到圖片
- 若然你只係想睇內容,最好用
.htmlfiles會比較好睇 :) - Btw, markdown主要都係作為文字記錄平台, 如果要畫圖/非文字媒體最好用其他software(e.g. powerpoint) 畫完再貼上黎會比較方便
- atom入面打
i+tab= italic(自動出個斜線符號包住),同理b+tab= bold File$\rightarrow$Stylesheet可以自己加css(改字體etc.)
必裝Packages
- Markdown preview enhanced
- Markdwon table editor
- Markdown image assistant
Table of Contents
[toc]
試下用link to section做:
General
|
|
Italic1 Italic2
Bold1 Bold2
StrikThrough
==Highlight==
Lists
- unordered list
- sublist
- ordered list
- ordered list
- xx
- Task list
- To-do list
Table
要裝Markdown table editor (atom)
Tab: Next cellEnter: Next lineEsc: Leave table edit mode
| Column1 | Column2 | Column3 |
|---|---|---|
| Left align | Center align | Right align |
| L | C | R |
| Merge | cell |
|---|---|
| > | col_merge |
| Enable | row_merge |
| Extended | ^ |
| table | Function |
Link (HyperText)
Image

- Note: 圖片要放
static底下 - 或者放同一個
page bundle入面 (即係有index.md的同一個folder底下)
Text Formatting
Superscript:1^st^Subscript:CO~2~Footnotes:Article 1
Abbreviation:
- *[md]: markdown
- *[cool]: cool and beautiful
- md is cool
emoji: :smiley: :fa-flag:
Cheatsheet:
@import “assets\emoji_list.md”
Blockquote
Evil knows of the good,
But good does not know of the evil
Code Block
|
|
Maths
Basics
$ x^5+y^{10} = {dy \over dx}2x$ $ \sqrt[4]{x} \not= \int \iint $
|
|
$$ \tag{2.10} \sum_{n=1}^{100} e^n $$
$ \tilde{a}, \vec{F}, \bar{y}, \big(,\Big(, \bigg( ABCD \bigg) $
Matrix
|
|
|
|
|
|
Alignments
|
|
|
|
Greek Letters
$ \Delta \delta \phi \Phi$
Logics, Set Theory
| $\therefore$ | $\because$ |
|---|---|
| $\sub$ | $\empty$ |
| $\in$ | $\varnothing$ |
Marcos
|
|
Diagrams
flow charts
|
|
Import
Configure Image
@import “image.png” {width=“400px” height=“300px” title=“Hello” align=“Right”}
OR
Supported file types
Common:
.jpeg(.jpg),.gif,.png.csv: converted to markdown table..html: embeded directly.pdf: you need to download pdf2svg first
Presentation
-
Wikipedia (會自動置底) ↩︎