WordPress Markdown

[WordPress] 使用 Markdown 寫作提升筆記速度

Program

for (let i = 0; i < 10; i++) {
  setTimeout(function () {
    console.log('這執行第' + i + '次');
  }, 0);
}
var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
漂亮 的文字
依然 渲染的 很好
1 2 3

中文好難

Step 1. CNS11643中文全字庫找到這個字的Unicode "𨑨:28468" 注音ㄓˋ ,但目前輸入法都沒有這個字。
Step 2. 在word中,輸入這個字"𨑨"的Unicode。
Step 3. 用Mouse把這個字的Unicode"28468"選起來。
Step 4. 再按 Alt+X 就可以出現𨑨

系統堃瑄𦝻榺
郭

LaTeX

The editor converts LaTeX equations in double-dollars $$: $$ax^2+bx+c=0$$. All equations are rendered as block equations. If you need inline ones, you can add the prefix \inline: $$\inline p={1\over q}$$. But it is a good practice to place big equations on separate lines:

$$x_{1,2} = {-b\pm\sqrt{b^2 - 4ac} \over 2a}.$$

In this case the LaTeX syntax will be highlighted in the source code. You can even add equation numbers (unfortunately there is no automatic numbering and refs support):

$$|\vec{A}|=\sqrt{A_x^2 + A_y^2 + A_z^2}.$$(1)

It is possible to write Cyrillic symbols in MARKDOWN_HASH5fb8936e9c9736541240bd94dfc2cc38MARKDOWNHASH command: $$Q\text{плавления}>0$$.

One can use matrices:

$$T^{\mu\nu}=\begin{pmatrix}
\varepsilon&0&0&0\
0&\varepsilon/3&0&0\
0&0&\varepsilon/3&0\
0&0&0&\varepsilon/3
\end{pmatrix},$$

integrals:

$$P\omega={n\omega\over 2}\hbar\omega\,{1+R\over 1-v^2}\int\limits_{-1}^{1}dx\,(x-v)|x-v|,$$