To-do list in rmarkdown

There is a convenient github markup function that 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

What does it look like:

github todo list

Is there anything similar in rmarkdown?

+4
source share
1 answer

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

0
source

All Articles