Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TO DO list in rmarkdown

There is a handy feature on github markup which can create a nice formatted TO DO list and it can be used as follows:

- [ ] my first item in list
- [ ] my second item in list
  - [ ] first sub item in second item in list
- [x] my third item in list, already done

Which looks like:

github todo list

Is there anything similar available in rmarkdown?

like image 921
jangorecki Avatar asked Feb 20 '15 12:02

jangorecki


1 Answers

According to pandoc tricks, you may first download the task-list.lua file and save it in $DATADIR/pandoc/filters/, so it will be visible to pandoc system-wide, then run pandoc --lua-filter=task-list.lua -o filename.html filename.md

like image 162
Fei YE Avatar answered Oct 06 '22 23:10

Fei YE