code: function editLinks(data, newPath, oldPath) {
      let newData = data;
      newData = newData.split(oldPath).join(newPath);
      return newData;
  }
docs: @function editLinks - edits the reference links
  
  @param {String} data
  @param {String} newPath
  @param {String} oldPath
  
  @returns {String} edited file