code: function escape(content) {
      return content.replace(/(["'\\])/g, '\\$1')
        .replace(/[\f]/g, "\\f")
        .replace(/[\b]/g, "\\b")
        .replace(/[\n]/g, "\\n")
        .replace(/[\t]/g, "\\t")
        .replace(/[\r]/g, "\\r");
    }
docs: when adding to the link buffer, paths are normalised to the baseUrl when removing from the link buffer, paths are normalised to the output file path