# 【GitHub】Markdown でブロックをハイライトにする方法
> GitHub 上の Markdown でブロックをハイライトにする方法メモ
- Canonical: https://c-a-p-engineer.github.io/github-markdown-note-warning/
- Published: 2022-09-13T20:00:00.000Z
- Modified: 2022-09-13T20:00:00.000Z
- Categories: Git
- Tags: Git, GitHub

GitHub 上の Markdown でブロックをハイライトにする方法メモ

## ブロックハイライト
現在は `Note`, `Warning` にのみ対応している模様です。
試しに　`Error` とやってみましたが色は変わりませんでした。

```md
> **Note**
> This is a note

> **Warning**
> This is a warning

> **Error**
> This is a Error
```

以下のようになります。
![github-markdown-note-warning](/legacy-assets/github-markdown-note-warning/note-warning.png "github-markdown-note-warning")

## 参考
* <a href="https://github.com/community/community/discussions/16925" target="_blank" rel="nofollow noopener">[Markdown] An option to highlight a &quot;Note&quot; and &quot;Warning&quot; using blockquote (Beta) · Discussion #16925 · community/community</a>
