# Markdown

## Symbols

|   符号  |        LaTeX语法       |         显示效果         |
| :---: | :------------------: | :------------------: |
|   分数  |     `\frac{a}{b}`    |     $\frac{a}{b}$    |
|   根式  |    `\sqrt[n] {a}`    |     $\sqrt\[n] a$    |
|   对勾  |     `\checkmarks`    |     $\checkmark$     |
|   错叉  |       `\times`       |       $\times$       |
|   并集  |        `\cup`        |        $\cup$        |
|   交集  |        `\cap`        |        $\cap$        |
|   差集  |      `\setminus`     |      $\setminus$     |
|   子集  |       `\subset`      |       $\subset$      |
|   子集  |      `\subseteq`     |      $\subseteq$     |
|  非子集  |     `\subsetneq`     |     $\subsetneq$     |
|   父集  |       `\supset`      |       $\supset$      |
|   属于  |         `\in`        |         $\in$        |
|  不属于  |       `\notin`       |       $\notin$       |
|   空集  |      `\emptyset`     |      $\emptyset$     |
|   空   |     `\varnothing`    |     $\varnothing$    |
|   排列  |    `\binom{n}{k}`    |    $\binom{n}{k}$    |
|   排列  |   `{n} \choose {k}`  |   ${n} \choose {k}$  |
|  右箭头  |         `\to`        |         $\to$        |
|  右箭头  |     `\rightarrow`    |     $\rightarrow$    |
|  左箭头  |     `\leftarrow`     |     $\leftarrow$     |
|  大右箭头 |     `\Rightarrow`    |     $\Rightarrow$    |
|  大左箭头 |     `\Leftarrow`     |     $\Leftarrow$     |
|  映射箭头 |       `\mapsto`      |       $\mapsto$      |
|  逻辑与  |        `\land`       |        $\land$       |
|  逻辑或  |        `\lor`        |        $\lor$        |
|  逻辑否  |        `\lnot`       |        $\lnot$       |
|  全称量词 |       `\forall`      |       $\forall$      |
|  存在量词 |       `\exists`      |       $\exists$      |
|  断定符  |       `\vdash`       |       $\vdash$       |
|  满足符  |       `\vDash`       |       $\vDash$       |
|   异或  |       `\oplus`       |       $\oplus$       |
|  恒等于  |       `\equiv`       |       $\equiv$       |
|  约等于  |       `\approx`      |       $\approx$      |
|  模运算  | `a \equiv b \pmod n` | $a \equiv b \pmod n$ |
|  偏低的点 |       `\ldots`       |       $\ldots$       |
|  中间的点 |       `\cdots`       |       $\cdots$       |
| 中间的单点 |        `\cdot`       |        $\cdot$       |

## MkDocs

Project documentation with Markdown.\
[MkDocs - Official Site](https://www.mkdocs.org)

## Diagram

Ref: [Draw Diagrams With Markdown](https://support.typora.io/Draw-Diagrams-With-Markdown/)

### Mermaid

Workflow charts supported by [mermaid](https://mermaid-js.github.io/mermaid/#/stateDiagram)

```mermaid
stateDiagram-v2
    [*] --> Still
    Still --> [*]

    Still --> Moving
    Moving --> Still
    Moving --> Crash
    Crash --> [*]
```

### PlantUML

Examples in [real-world-plantuml](https://real-world-plantuml.com/)

```plantuml
@startuml
start
:Init Phase;
:Transfer Phase;
note right
  long running activity,
  process requires signal to proceed
end note
:Termination Phase;
stop
@enduml
```

## Reference

1. [简书 | markdown中公式编辑教程](https://www.jianshu.com/p/25f0139637b7)
2. [csdn | Mathjax公式教程](https://blog.csdn.net/dabokele/article/details/79577072)
3. [csdn | 基本数学公式语法](https://blog.csdn.net/ethmery/article/details/50670297)
4. [csdn | 常用数学符号的LaTeX表示方法](https://blog.csdn.net/lilongsy/article/details/79378620)
5. [mathjax | Beautiful math in all browsers](https://www.mathjax.org/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://legacy.cookielau.com/archives/6-markdownnlatex/1-mdnotes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
