Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kramdown doesn't seem to render checkboxes like in GitHub

It seems Kramdown can recognise Github Flavoured Markdown in Jekyll. But it seems checkboxes that are available in GitHub isn't getting rendered using Kramdown, any ideas why?

What I am trying to do:

- [ ] Unchecked
- [x] Checked

This would show up as disabled checkboxes in GitHub but not so in Jekyll.

like image 681
Jikku Jose Avatar asked Sep 30 '22 20:09

Jikku Jose


1 Answers

This is what the instructions on the official website say. Just try it, maybe it works than.

In addition to the defaults mentioned above, you can also turn on recognition of Github Flavored Markdown by passing an input option with a value of “GFM”.

For example, in your _config.yml:

kramdown:
  input: GFM

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

like image 104
Phlow Avatar answered Oct 03 '22 04:10

Phlow