fix: solution links in properties drawer, TODO sub-headings for tracking

This commit is contained in:
2026-06-01 16:57:31 +08:00
parent 1853f99367
commit a50f4a121b
2 changed files with 400 additions and 400 deletions
+2 -2
View File
@@ -238,6 +238,8 @@ function buildOrg(sortedNodes, problemsByTopic) {
lines.push(`** TODO ${num}. ${p.name} :${tag}:`);
lines.push(`:PROPERTIES:`);
lines.push(`:LEETCODE: [[${lcUrl}][Problem]]`);
lines.push(`:CPP: [[${GITHUB_SOLUTIONS}cpp/${p.code}.cpp][Solution]]`);
lines.push(`:PYTHON: [[${GITHUB_SOLUTIONS}python/${p.code}.py][Solution]]`);
if (p.video)
lines.push(
`:VIDEO: [[https://youtube.com/watch?v=${p.video}][Watch]]`
@@ -245,9 +247,7 @@ function buildOrg(sortedNodes, problemsByTopic) {
lines.push(`:END:`);
lines.push("");
lines.push(`*** TODO Python`);
lines.push(`- [[${GITHUB_SOLUTIONS}python/${p.code}.py][${p.code}.py]]`);
lines.push(`*** TODO C++`);
lines.push(`- [[${GITHUB_SOLUTIONS}cpp/${p.code}.cpp][${p.code}.cpp]]`);
lines.push(`Notes: [[${notesFile}]]`);
}
lines.push("");