addition of new dashboard

This commit is contained in:
ben committed 2026-08-20 15:08:32 +00:00
1 parent 0622018d95
commit bf59249ed7
161 files changed
+13170 -119

No files matched your search

+14
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;
}