KAHIBARO
Discord Login Register
Table of Contents

Below you can find the manual for the Markdown parser used on this site. Some functions are not yet implemented, but will be added in the future.

Markdown Help (Supported Syntax)

This page explains how to format text using the Markdown features supported on this site.

Table of Contents (Auto)

All headings like # Heading are automatically collected into a Table of Contents (desktop sidebar + mobile collapsible menu).

Headings

Use # for headings.

text
# Title
## Section
### Subsection
#### Smaller section

Notes:

Paragraphs and Line Breaks

Example:

text
This is line one
This is line two
This is a new paragraph.

Horizontal Line

Use exactly:

text

Inline Formatting

Bold

text
**bold text**

bold text

Italic

text
*italic text*

italic text

Inline Code

text
`code`

code

Links

text
[link text](https://example.com)

link text

Notes:

Blockquotes

Start a line with >.

text
> This is a quote.
> Another quote line.
This is a quote.
Another quote line.

Notes:

Lists

Unordered Lists

Use - or *:

text
- Item 1
- Item 2
* Item 3

Ordered Lists

Use 1. / 2. / etc:

text
1. First
2. Second
3. Third
  1. First
  2. Second
  3. Third

Nested Lists (Indentation)

Indent nested items with spaces:

text
- Parent
  - Child
    - Grandchild
- Next parent

Multi-line List Items

A list item can continue on the next line (without starting a new bullet/number). Example:

text
- First line of the item
Second line of the same item
Third line still the same item
- New item

Notes:

Tables

A table row is any line that starts and ends with |.

Simple Table

text
| Name | Value |
| Alice | 10 |
| Bob | 20 |
NameValue
Alice10
Bob20

Table With Header + Alignment

Use a separator line with dashes, and optional colons:

text
| Item | Price | Note |
|:-----|------:|:----:|
| Apple | 1.20 | fresh |
| Pear  | 2.50 | ok |
ItemPriceNote
Apple1.20fresh
Pear2.50ok

Notes:

Images (Figures) With Optional Size

Supported format:

text
![Caption](filename.png = 300x200)

Examples:

text
![My diagram](diagram.png = 600x300)
![Only width](photo.jpg = 500x)
![Only height](photo.jpg = x300)
![No size](photo.jpg = x)

Notes:

Fenced Code Blocks

Use triple backticks.

Code Block Without Language

text
:::code
some code here
:::
some code here

Code Block With Language Label

text
```php
echo "Hello";
```php
echo "Hello";

Notes:

Boxes (Callouts)

You can create block boxes using:

text
:::info
Content...
:::

Content...

Supported box types:

Example: Info Box

text
:::danger
This is a **danger** box with *formatting* and `inline code`.
:::

This is a danger box with formatting and inline code.

text
:::success
This is a **success** box with *formatting* and `inline code`.
:::

This is a success box with formatting and inline code.

This is an info box with formatting and inline code.

Example: Exercise Box

text
:::exercise
**Task:** Compute 2+2.
Write your answer below.
:::

Task: Compute 2+2.
Write your answer below.

Code Box

A :::code box outputs a code block style container and does not parse Markdown inside as normal content.

text
:::code
function hello() {
  return "hi";
}
:::

Notes:

Solutions (Hidden / Toggle)

Inside any other box (like exercise) you can add a solution block:

text
::: exercise
Solve: **3 Ă— 7**
:::solution
The result is **21**.
:::
:::

Solve: 3 Ă— 7

The result is 21.

Behavior:

Scientific Sketches, Diagrams, and Plots

Scientific figures with TikZ

Use a fenced block with the language tikz. TikZ is the recommended format for force diagrams, geometry, coordinate systems, derivation sketches, circuits, rays, vectors, and many other scientific illustrations:

text
```tikz
\begin{tikzpicture}[>=stealth]
  \draw[fill=gray!15] (-1,-0.4) rectangle (1,0.4);
ode at (0,0) {$m$};
  \draw[->, very thick] (1,0) -- (3,0) node[right] {$F$};
  \draw[->, very thick] (0,0.4) -- (0,2) node[above] {$N$};
  \draw[->, very thick] (0,-0.4) -- (0,-2) node[below] {$mg$};
nd{tikzpicture}
TikZ source is compiled in the browser to a scalable SVG image. The alias `scientific-sketch` is also accepted.
### Custom biological and scientific SVG figures
For figures requiring free-form shapes, use a fenced `svg` block. This is useful for biological processes, cell structures, apparatus sketches, and annotated scientific illustrations:
```text
```svg
<svg viewBox="0 0 600 220" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto">
      <path d="M0,0 L0,6 L9,3 z" fill="currentColor" />
    </marker>
  </defs>
  <circle cx="100" cy="110" r="55" fill="none" stroke="currentColor" stroke-width="3" />
  <text x="100" y="115" text-anchor="middle">Cell</text>
  <line x1="160" y1="110" x2="270" y2="110" stroke="currentColor" stroke-width="3" marker-end="url(#arrow)" />
  <rect x="290" y="65" width="130" height="90" rx="18" fill="none" stroke="currentColor" stroke-width="3" />
  <text x="355" y="115" text-anchor="middle">Protein</text>
</svg>
SVG markup is sanitized before being inserted into the page. Scripts, event handlers, and `foreignObject` content are removed.
### Mermaid flow diagrams
Use a fenced block with the language `mermaid`:
```text
```mermaid
graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Result]
    B -->|No| D[Try again]
Mermaid supports flowcharts, sequence diagrams, class diagrams, state diagrams, timelines, mind maps, and more.
### Data plots with Chart.js
Use a fenced block with the language `chart` (or `plot`) and provide valid JSON:
```text
```chart
{
  "type": "line",
  "data": {
    "labels": ["Jan", "Feb", "Mar", "Apr"],
    "datasets": [
      {
        "label": "Example series",
        "data": [12, 19, 8, 15]
      }
    ]
  },
  "options": {
    "responsive": true,
    "maintainAspectRatio": false
  }
}