Skip to content

本站和markdown的语法

Text Formatting

- [ ] ==Get==
- [-] things
- [x] ~~done~~
  • Get
  • [-] things
  • done

More formatting options for your webpage
here.
(but not compatible with Obsidian)

> [!note]
> callout tests

> [!tip]
> tips

callout tests

tips

<div class="admonition note">
    <p class="admonition-title">Note</p>
    <p>test</p>
</div>

Note

test

block?
and another line
!!! note test !!! tip tips

!!! example example !!! danger !!! cite !!! question !!! summary ??? warning
this caution

!!! note test !!! tip tips

!!! example example !!! danger !!! cite !!! question !!! summary ??? warning
this caution

[wiki](wiki)  
[wiki/code/arch/archinstall](wiki/code/arch/archinstall)  
[/wiki](/wiki)  
[/wiki/code/arch/archinstall](/wiki/code/arch/archinstall)  
![wiki/img/a.png](wiki/img/a.png) ![/wiki/img/a.png](/wiki/img/a.png)

wiki https://hiraethecho.github.io/wiki/code/cheatsheets/examples/wiki
wiki/code/arch/archinstall as above /wiki
yes /wiki/code/archinstall yes
wiki/img/a.png plain text /wiki/img/a.png

Mermaid diagrams

Here's the example from
MkDocs Material documentation:

  graph LR
  A[Start] --> B{Error?}; B -->|Yes| C[Hmm...];
  C --> D[Debug];
  D --> B;
  B ---->|No| E[Yay!];

LaTeX Math Support

LaTeX math is supported using MathJax.

Inline math looks like \(f(x) = x^2\). The input for this is $f(x) = x^2$. Use
$...$.
For a block of math, use $$...$$ on separate lines

$$
F(x) = \int^a_b \frac{1}{2}x^4
$$