Reputation: 3225
I have googled for a long time but can not find any tools that support task lists
in GFM
.
I tested this line in the tools:
- [x] This is a complete item
StackEdit, misaka, marked and so on, NONE of them worked while most of them claim support GFM
.
Is there any tools support task lists
?
PS:I know we can add this feature to StackEdit by Custom
but just preview not export.
Upvotes: 1
Views: 767
Reputation: 572
Version 5 of StackEdit that runs in the chrome app, and chrome extension support checklists.
The chrome app launches from https://stackedit.io/app#
Upvotes: 0
Reputation: 2920
Here's some more info on the solution the OP refers to:
https://github.com/benweet/stackedit/issues/324#issuecomment-82646808
To enable it, follow these steps:
Paste this code in the JavaScript code field:
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>');
});
});
};
Upvotes: 0
Reputation: 3225
I have got the solution.
Using Python-MarkDown's Extensions can do a lot of things.
here is the link
PS: A sublime text plug-in based on the project is recommeded
Upvotes: 1