addition of new dashboard

This commit is contained in:
2026-08-20 15:08:32 +00:00
parent 0622018d95
commit bf59249ed7
161 changed files with 13170 additions and 119 deletions

View File

@@ -0,0 +1,14 @@
export function firstNonBlankLine(markdown) {
if (typeof markdown !== 'string') return;
const lines = markdown.split(/\r?\n/);
for (const line of lines) {
const trimmed = line.trim();
if (trimmed) {
return trimmed.replace(/^#+\s*/, '');
}
}
return;
}