Kramdown does not display checkboxes, as in GitHub

It seems Kramdown can recognize the Github Flavored Markdown in Jekyll. But it looks like the checkboxes available on GitHub don't get rendered using Kramdown, any ideas why?

What I'm trying to do:

- [ ] Unchecked - [x] Checked 

This will appear as disabled checkboxes on GitHub, but not so on Jekyll.

+5
source share
1 answer

That's what the instructions on the official website say. Just try, maybe it works than.

In addition to the defaults mentioned above, you can also enable Github Flavored Markdown recognition by passing an input parameter with the value "GFM".

For example, in _config.yml :

 kramdown: input: GFM 

Source: http://jekyllrb.com/docs/configuration/#kramdown

+4
source

Source: https://habr.com/ru/post/1202994/


All Articles