code: function toggle(name, vars, node) {
          var fmt = get(name);
  
          if (match(name, vars, node) && (!('toggle' in fmt[0]) || fmt[0].toggle)) {
            remove(name, vars, node);
          } else {
            apply(name, vars, node);
          }
        }
docs: Toggles the specified format on/off.
  
  @method toggle
  @param {String} name Name of format to apply/remove.
  @param {Object} vars Optional list of variables to replace within format before applying/removing it.
  @param {Node} node Optional node to apply the format to or remove from. Defaults to current selection.