"
content += todayContent;
};
tasksFiltered.forEach(function(item) {
var file = getFilename(item.path);
var header = item.header.subpath;
var link = item.link.path.replace("'", "'");
var text = item.text;
var posEndLine = item.position.start.line;
var posEndCol = item.position.end.col;
var info = "";
var color = getMetaFromNote(item, "color");
if (!color) {color = "var(--text-muted)"};
var cls = Object.keys(item.happens).find(key => item.happens[key] === timelineDates[i].toString()).replace("Forward","");
var dailyNote = item.dailyNote;
containedTypesPerDay.push(cls);
containedTypesPerYear.push(cls);
// Handle forwarded tasks to get relative by cls
for (h=0;h
" + eval(key+"Icon") + "
" + relative + "
";
};
};
if (item.repeat) {
info += "
" + repeatIcon + "
" + item.repeat.replace("🔁", "") + "
";
};
if (item.priorityLabel) {
info += "
" + priorityIcon + "
" + item.priorityLabel + "
";
};
info += "
" + fileIcon + "
" + file + " > " + header + "
";
item.tags.forEach(function(tag) {
var tagText = tag.replace("#","");
var hexColorMatch = tag.match(/([a-fA-F0-9]{6}|[a-fA-F0-9]{3})\/(.*)/);
if (hexColorMatch) {
var style = "style='--tag-color:#" + hexColorMatch[1] + ";--tag-background:#" + hexColorMatch[1] + "1a'";
tagText = hexColorMatch[2];
} else {
var style = "style='--tag-color:var(--text-muted)'";
};
info += "