フロントマターの項目
| 項目 | 必須 | 説明 |
|---|---|---|
title |
任意 | 記事タイトル(無ければファイル名) |
date |
任意 | 公開日(YYYY-MM-DD)。一覧の並び順に使用 |
tags |
任意 | [tag1, tag2] の形式 |
summary |
任意 | 一覧に出る概要(無ければ本文冒頭から自動生成) |
slug |
任意 | URLのファイル名(無ければ自動) |
コードのハイライト
```python
def hello(name):
return f"Hello, {name}!"
```
上のように書くと、こう表示されます:
def hello(name):
return f"Hello, {name}!"
print(hello("world"))
const sum = (a, b) => a + b;
console.log(sum(2, 3));
まとめ
Markdownの基本がそのまま使えます。あとは書いて push するだけ!