I noticed that there is a way to add tasklist in GFM, as mentioned in their blogpost here, https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments
However it doesnt show any examples for task list for a ordered list. Is it supported? If so, can somebody share an example.
No, it's not supported. You can write an ordered list of checkboxes like this:
1. [ ] Foo
2. [ ] Bar
It renders as an ordered list in HTML (<ol>
), but their stylesheet removes the numbers.
So while you can express the list as an ordered list, you would need your own stylesheet to render it as such.