Saq's editor-autolist ($:/plugins/sq/editor-autolist) makes * and # lists effortless.
But tgrosinger's minimalist little checklist ($:/plugins/tgrosinger/tw5-checklist) uses [ ] lists.
How do I add [ ] to * and # in Saq's code?
I tried editing part of $:/plugins/sq/editor-autolist/editor-operation-autolist like so:
var listPrefixRegex = /^((\*|#|[ ])+).*/;
var match = prevLine.match(listPrefixRegex);
//ensure we only handle lines starting with * or #
if(match != null && match[1]) {
var trimmed = match[0].replace(/\s\s*$/, '');
var prefixRegEx = /^((\*|#|[ ])+)$/;
But It didn't work.