code: function (itemText) {
  
              // The numbering flag is unset when called by autoindent.
              if (isNumberedList === undefined) {
                  isNumberedList = /^\s*\d/.test(itemText);
              }
  
              // Renumber/bullet the list element.
              itemText = itemText.replace(/^[ ]{0,3}([*+-]|\d+[.])\s/gm,
                  function (_) {
                      return getItemPrefix();
                  });
  
              return itemText;
          }
docs: Fixes the prefixes of the other list items.