Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Markdown Advanced Tips

Markdown Advanced Tips

Supported HTML elements

Tags not covered by Markdown can be written directly in HTML within the document.

The currently supported HTML elements include:
and so on, such as:

使用 Ctrl+Alt+Del 重启电脑

The output is:

Escape

Markdown uses many special symbols to denote specific meanings; to display a specific symbol you need to use an escape character. Markdown uses a backslash to escape special characters:

**文本加粗** 

\*\* 正常显示星号 \*\*

The output is:

Markdown supports adding a backslash before the following symbols to insert them as ordinary characters:

\   反斜线

`   反引号

*   星号

_   下划线

{}  花括号

[]  方括号

()  小括号

#   井字号

+   加号

-   减号

.   英文句点

!   感叹号

Formula

Markdown Preview Enhanced Use KaTeX or MathJax to render mathematical expressions.

KaTeX has faster performance than MathJax, but it lacks many of the features MathJax has. You can check KaTeX supported functions/symbols to learn which symbols and functions KaTeX supports.

Default delimiters:

  • $...$ or \(...\) The mathematical expression inside will be displayed inline.
  • $$...$$ or \[...\] Or the mathematical expression inside ````math` will be displayed as a block.



$$

\begin{Bmatrix}

   a & b \\

   c & d

\end{Bmatrix}

$$

$$

\begin{CD}

   A @>a>> B \\

@VbVV @AAcA \\

   C @= D

\end{CD}

$$

The output is: