converted all devlog pages to markdown

This commit is contained in:
2025-12-05 17:07:45 +00:00
parent 312e6418aa
commit c2bb3cb927
284 changed files with 1869 additions and 1964 deletions

View File

@@ -9,6 +9,7 @@
let idCounter: number = 0;
let root: HTMLElement;
let container: HTMLElement;
onMount(() => {
@@ -21,6 +22,11 @@
element.innerHTML = `${(header as HTMLElement).innerHTML}`;
container.appendChild(element);
});
// Hide table of contents if no valid entries have been found
if (headers.length == 0) {
root.style.display = "none";
}
});
let getHeaders = function(): NodeList {
@@ -54,11 +60,11 @@
</script>
{#if disableStickyScrolling}
<div class="toc-container notched">
<div class="toc-container notched" bind:this={root}>
{@render tocList()}
</div>
{:else}
<div class="toc-container notched sticky-toc">
<div class="toc-container notched sticky-toc" bind:this={root}>
{@render tocList()}
</div>
{/if}