md2野獣ノート サンプル

@Kongyokongyo / 更新: 2026/05/23 19:08

https://st625636.static.jp/

HTML 126KB
0

Renderer 強化テスト

通常段落。太字斜体取り消し線inline code、それに highlightinsert、X下付き と E=mc上付き など。

GitHub Markdown

タスクリスト

  • 未完了
  • 完了
  • 別タスク

テーブル

名前 役職 備考
田中 エンジニア full-stack
佐藤 デザイナー UI/UX

autolink

https://example.com を直書きでもリンクに。

定義リスト

用語1
定義1
用語2
定義2の内容

GitHub Alerts

通常の引用ブロック (Alert ではない) はそのまま blockquote。

Syntax highlighting

javascriptfunction fibonacci(n) {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
}
const result = fibonacci(10);
console.log(`Result: ${result}`);
pythondef hello(name: str) -> str:
    """Greet by name."""
    return f"Hello, {name}!"

if __name__ == "__main__":
    print(hello("World"))
rustfn main() {
    let v: Vec<i32> = (1..=10).collect();
    let sum: i32 = v.iter().sum();
    println!("Sum: {}", sum);
}
bash#!/usr/bin/env bash
set -euo pipefail
for f in *.md; do
  echo "Processing $f"
done

LaTeX math

インライン: E = mc^2\sqrt{a^2 + b^2}\sum_{i=0}^{n} i など。

ブロック (display):

\int_{-\infty}^{\infty} e^{-x^2}\, dx = \sqrt{\pi}

\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}

行列:

A = \begin{pmatrix} a & b \\ c & d \end{pmatrix},\quad
\det(A) = ad - bc

Mermaid

graph TD A[開始] --> B{条件} B -->|Yes| C[処理1] B -->|No| D[処理2] C --> E[終了] D --> E

sequenceDiagram participant U as User participant S as Server U->>S: Request S-->>U: Response

脚注

本文中の参照[1] と もう一つ[2]

details / summary

クリックで展開

中身は隠されている。<details> / <summary> は sanitize 許可タグ。


脚注

  1. 脚注 a の中身。

  2. 脚注 b の中身。