一级标题
二级标题
正文
bold text (设置快捷健 ,b
italic text (斜体快捷键 ,i)
bold italic
wasted text (删除线 ,s)
3个` 括起来是代码块(1左边那个键)
加上python会显示对应的高亮
|
|
[Named Link](http://www.baidu.com/"Named link title")
heading-1 (转到一级标题处)
| First Header | second Header |
|---|---|
| Content Cell | Content Cell |
| content Cell | content cell |
一行代码 用` `括起来
code
- Bullet List Item1 (*号和文字之间有空格)
- Nested bullet
- Sub_nested bullet etc
- Sub_nested
- sub_nested
- Sub_nested
- Sub_nested bullet etc
- Nested bullet
- Bullet List item 2
1.A number list 1. A nested numbered list 2, which is numbered 2.which is numberd
- [] An uncompleted task ( - 和 [ 之间有空格)
- A complete task
- [] A subtask
引用块
子引用块
— 水平线
-
Title 1
折叠内容Content 1 Content 1 Content 1 Content 1 Content 1
-
F
多行公式独立编号:(来源:Markdown下LaTeX公式、编号、对齐) $$ \begin{eqnarray*} x^n+y^n &=& z^n \tag{1.4} \ x+y &=& z \tag{1.5} \end{eqnarray*} $$
单个公式换行:
单个公式很长的时候需要换行,但仅允许生成一个编号时,可以用split标签包围公式代码,在需要转行的地方使用\\,每行需要使用1个&来标识对齐的位置,结束后可使用\tag{...}标签编号。
$$
\begin{split}a &= b \c &= d \e &= f \end{split}\tag{1.3}
$$
字母头上 ^
|
|
用 vim 插件 MarkdownPreview 在浏览器中可以正确渲染这个公式,
但是 Hugo 的KaTex 需要多打一个back slash:\\^θ 才能正确渲染,但这样做 vim 插件里就渲染不对了。
单行写分段函数
For katex, there is one more \
|
|
交换图表
MathJax基础(10):Commutative diagrams
$$ $\require{AMScd}$ \begin{CD} A @>a» B\ @V b V V= @VV c V\ C @»d> D \end{CD} $$
mermaid style
Anchor
Uppercase -> lowercase; Spaces -> -
Github Markdown anchor only linking to top of the page
Images side by side
|
|
Common Unicode
-
U+2016 ‖ DOUBLE VERTICAL LINE
-
White square: □ U+25A1 White Square Unicode Character - Compart
-
There is no superscript comma in unicode. Superscripting any Letter/Number for comma
-
left ceil, left floor, right ceil, right floor:
⌈x₀⌉ |x₁| ⌊x₂⌋
-
circle:
⦿
Clipboard of symbl.cc
εφμf𝐱⋱⋮⋯⌊⌋σ√↓↑↓▼⬇λ˙⋅□↑⇔γβ∈α∑×‖⑊ ⊠∂Λθ∭∞°Σ➔©→✅⬯⬭τδ⊗∫𝚺𝛍𝐔𝐈𝐮∈𝐱𝐌𝐖𝚫ℤω℮∏‖⊙⊛ηρ𝐝𝐜𝐕𝒢𝐭𝐉𝐦𝛈≈❙❘⇤↳⋮⋆⭑✦★•𝑳𝐿𝐲𝐏𝐩𝐪𝐚𝐛𝐦𝐧𝐊𝐑𝐭𝐀𝐁𝐐𝐂𝐇𝐅𝐕|⏐▭✚▱𝐘𝐗𝐳𝐃𝐄⬯˚∘Δ😊≤▱■⌷⍨⍩⍤⟨〈⟩⬮↘∇𝛁 ▦
-
Less than
<will be mis-parsed as a html syntax by vim-markdown, use ❮ (Heavy Left-Pointing Angle Quotation Mark Ornament, brackets), or $<$ -
${}$won’t render the curly braces { }, use { } (Fullwidth Curly Brackets)Or
$\\{ \\}$ -
画斜线角度不够,可以用 ellipsis ⋱⋰ (Up Right Diagonal Ellipsis)
表格列宽
公式
箭头指示
DDG search: “latex math equation block where a symbol is pointed by an upward arrow?”
Arrow to an equal symbol in a equation to justify it - SE
$$ a+b\underset{\substack{\color{red}\uparrow \\ % or: \rotatebox{90}{$\longrightarrow$} \mathclap{\textup{\tiny commutative}} \\ \mathclap{\textup{\tiny property}}}}{=}b+a $$
符号加方框
|
|
$$ \boxed{x} $$
Small text
(2024-05-24)
-
Use the attribute
font-sizeof tag<p>, e.g.,<p style="font-size:10px">text</p>:text
-
Keep the text inline without going to a new line:
<span style="font-size:10px; color:red;">text</span>: text -
<small>text</small>: text -
Deprecated in HTML5:
<font size="3" color="red">text</font>: text
iframe
(2024-01-21)
-
The size of the content can be set as below:
1 2 3 4 5<iframe width="560" height="315" src="https://www.youtube.com/embed/-P28LKWTzrI?si=szYmMkdL7Ixw-6_4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>