有没有支持任务列表的markdown工具

Is there any markdown tools that support task lists

我搜索了很长时间,但在 GFM 中找不到任何支持 task lists 的工具。

我在工具中测试了这一行:

- [x] This is a complete item

StackEdit、misaka、marked 等,NONE 有效,而大多数声称 support GFM

有没有工具支持task lists

PS:我知道我们可以通过Custom将此功能添加到StackEdit,但只能预览不能导出。

我找到了解决方案。

使用 Python-MarkDown 的扩展可以做很多事情。

这里是 link

Python-Markdown

Third Party Extensions

PS: 推荐一个基于项目的sublime text插件

以下是关于 OP 所指解决方案的更多信息:

https://github.com/benweet/stackedit/issues/324#issuecomment-82646808

要启用它,请按照下列步骤操作:

  1. StackEdit > 设置 > 扩展
  2. 展开 UserCustom 扩展(列表底部)
  3. 将此代码粘贴到 JavaScript 代码字段中:

    userCustom.onPreviewFinished = function() {
        $('#preview-contents dd').each(function() {
            $(this).html(function(index,html){
                return html.replace(/\[ ?\]/g,'<i class="icon-check-empty"></i>');
            });
            $(this).html(function(index,html){
                return html.replace(/\[X\]/ig,'<i class="icon-check"></i>');
            });
        });
        $('#preview-contents li').each(function() {
            $(this).html(function(index,html){
                return html.replace(/\[ ?\]/g,'<i class="icon-check-empty"></i>');
            });
            $(this).html(function(index,html){
                return html.replace(/\[X\]/ig,'<i class="icon-check"></i>');
            });
        }); 
    };
    
    1. 单击确定 保存更改

在 chrome 应用程序和 chrome 扩展支持清单中运行的 StackEdit 版本 5。

chrome 应用从 https://stackedit.io/app#

启动