HexoでGitHub flavored markdownを使う
hexo-renderer-marked
Install
npm install hexo-renderer-marked --save
Configuration
GitHub flavored markdown(gfm) を有効にする
_config.yml
に以下を追記
1 | marked: |
GitHub flavored markdown
gfm - gfm task list items
- foo
- bar
- foo
- bar
- baz
- bim
breaks - gfm line breaks
効いていない……
1 | Hello (<-- two spaces) |
Hello
World
1 | Hello (<-- one spaces) |
Hello
World
1 | Hello (<-- no spaces) |
Hello
World
autolink
1 | https://hexo.io |
Definition/Description Lists
1 | Definition Term |
- Definition Term
- This is the definition for the term
- Definition Term
: Definition 1 - Definition 2