57 lines
1.0 KiB
Markdown
57 lines
1.0 KiB
Markdown
|
|
## LaTeX
|
|
|
|
|
|
Inline math equations go in like so: $\omega = d\phi / dt$.
|
|
Display math should get its own line and be put in in double-dollarsigns:
|
|
|
|
$$I = \int \rho R^{2} dV$$
|
|
|
|
And note that you can backslash-escape any punctuation characters which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.
|
|
|
|
|
|
Consider non-empty sets $A$, $B$ and $C$. Then a binary operation $f$ is a mapping from set $A\times C$ to set $A$ or $B$.
|
|
$$f\colon D\subseteq A \times C \to \left[ \begin{array}{lcl} A \\ B \end{array} \right.$$
|
|
|
|
## Mermaid
|
|
|
|
Simple Flow Chart
|
|
|
|
```mermaid
|
|
flowchart LR
|
|
id1[[This is the text in the box1]]
|
|
```
|
|
|
|
|
|
Mermaid Graph
|
|
|
|
```mermaid
|
|
graph TD;
|
|
A-->B;
|
|
A-->C;
|
|
B-->D;
|
|
C-->D;
|
|
```
|
|
|
|
Sequence Diagram
|
|
|
|
```mermaid
|
|
sequenceDiagram
|
|
participant Alice
|
|
participant Bob
|
|
Alice->>John: Hello John, how are you?
|
|
loop Healthcheck
|
|
John->>John: Fight against hypochondria
|
|
end
|
|
Note right of John: Rational thoughts <br/>prevail!
|
|
John-->>Alice: Great!
|
|
John->>Bob: How about you?
|
|
Bob-->>John: Jolly good!
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|