fix: solution links in properties drawer, TODO sub-headings for tracking
This commit is contained in:
@@ -238,6 +238,8 @@ function buildOrg(sortedNodes, problemsByTopic) {
|
|||||||
lines.push(`** TODO ${num}. ${p.name} :${tag}:`);
|
lines.push(`** TODO ${num}. ${p.name} :${tag}:`);
|
||||||
lines.push(`:PROPERTIES:`);
|
lines.push(`:PROPERTIES:`);
|
||||||
lines.push(`:LEETCODE: [[${lcUrl}][Problem]]`);
|
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)
|
if (p.video)
|
||||||
lines.push(
|
lines.push(
|
||||||
`:VIDEO: [[https://youtube.com/watch?v=${p.video}][Watch]]`
|
`:VIDEO: [[https://youtube.com/watch?v=${p.video}][Watch]]`
|
||||||
@@ -245,9 +247,7 @@ function buildOrg(sortedNodes, problemsByTopic) {
|
|||||||
lines.push(`:END:`);
|
lines.push(`:END:`);
|
||||||
lines.push("");
|
lines.push("");
|
||||||
lines.push(`*** TODO Python`);
|
lines.push(`*** TODO Python`);
|
||||||
lines.push(`- [[${GITHUB_SOLUTIONS}python/${p.code}.py][${p.code}.py]]`);
|
|
||||||
lines.push(`*** TODO C++`);
|
lines.push(`*** TODO C++`);
|
||||||
lines.push(`- [[${GITHUB_SOLUTIONS}cpp/${p.code}.cpp][${p.code}.cpp]]`);
|
|
||||||
lines.push(`Notes: [[${notesFile}]]`);
|
lines.push(`Notes: [[${notesFile}]]`);
|
||||||
}
|
}
|
||||||
lines.push("");
|
lines.push("");
|
||||||
|
|||||||
+398
-398
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user