コードブロックのテスト
うまいことシンタックスハイライトされる?
shell
echo aiueo
ls -la
python
def double(a: int) -> int:
return a * 2
print(f"hello, {double(10)}.")
javascript
function double(a) {
return a * 2
}
console.log(`hello, ${double(10)}`)
typescript
function double(a: number): number {
return a * 2
}
console.log(`hello, ${double(10)}`)
適当
function echo def