Is there a way to create a task-list that prints in docx format? I am using the [ ] task-list
and [x] completed-task
syntax, with the following filters:
-r markdown+smart+implicit_figures+table_captions+pipe_tables+latex_macros+compact_definition_lists+subscript+superscript+yaml_metadata_block+raw_tex+fenced_code_attributes+line_blocks+backtick_code_blocks+fenced_code_blocks+link_attributes+tex_math_dollars+native_spans
This seems to working html (when I view it via the preview app Marked2, but I cannot get it to work when converting from markdown
to docx
.
Any help is greatly appreciated. Thanks.
Plain pandoc does not support task lists. However, you can use a filter to add support. Have a look at the task-list filter in the semi-official filter collection. You can use it by adding it to you directory and calling pandoc with an additional --lua-filter=task-list.lua
parameter.