# Tasklists With the flag `MD_FLAG_TASKLISTS`, MD4C enables extension for recognition of task lists. Basic task list may look as follows: ```````````````````````````````` example * [x] foo * [X] bar * [ ] baz . ```````````````````````````````` Task lists can also be in ordered lists: ```````````````````````````````` example 1. [x] foo 2. [X] bar 3. [ ] baz .
  1. foo
  2. bar
  3. baz
```````````````````````````````` Task lists can also be nested in ordinary lists: ```````````````````````````````` example * xxx: * [x] foo * [x] bar * [ ] baz * yyy: * [ ] qux * [x] quux * [ ] quuz . ```````````````````````````````` Or in a parent task list: ```````````````````````````````` example 1. [x] xxx: * [x] foo * [x] bar * [ ] baz 2. [ ] yyy: * [ ] qux * [x] quux * [ ] quuz .
  1. xxx:
  2. yyy:
```````````````````````````````` Also, ordinary lists can be nested in the task lists. ```````````````````````````````` example * [x] xxx: * foo * bar * baz * [ ] yyy: * qux * quux * quuz . ````````````````````````````````