Markdown記法一覧

/
#markdown#test

Markdown記法の確認用。mdファイルを汎用的に使いまわせる様に、可能な限りGitHub Flavored Markdownに準拠したい。

undefined
1
const hello = null;
2
console.log("hoge")
3
console.log("hello")
4
console.log("normal")
index.js
1
function hello (){
2
console.log('hello')
3
}
4
hello()
hoge
index.ts
1
function sayHello(name: string){
2
console.log(`hello, ${name}`);
3
}

ja-nn

new alerts

Note

Useful information that users should know, even when skimming content.

Tip

Helpful advice for doing things better or more easily.

Important

Key information users need to know to achieve their goal.

Warning

Urgent info that needs immediate user attention to avoid problems.

Caution

Advises about risks or negative outcomes of certain actions.

見出し heading

undefined
1
# 見出し h1
2
3
## 見出し h2
4
5
### 見出し h3
6
7
#### 見出し h4

リスト

undefined
1
- Hello!
2
- Hola!
3
- Bonjour!
4
* Hi!
  • Hello
  • Hola
    • Bonjour
    • Hi

番号付きリスト

undefined
1
1. First
2
2. Second
  1. First
  2. Second

テキストリンク

undefined
1
[アンカーテキスト](リンクのURL)

oriverk.dev

posts

in MDX v2, bare link and link with <> is completely deprecated to avoid <> as jsx component.

undefined
1
https://ixanary.com

画像

undefined
1
![altテキスト](https://画像のURL "figcaption")
twitter @not_you_die logo
twitter @not_you_die

画像にリンクを貼る

undefined
1
[![altテキスト](画像のURL)](リンクのURL)

テーブル

HeadHeadHead
TextTextText
leftcenterright

引用

quote

quote

区切り線


インラインスタイル

inline italic

bold 太字

打ち消し線

インラインでcodeを挿入する。