Attempt at Markdown page rendering

Syntax highlighting doesn't work yet.
This commit is contained in:
Riyyi
2025-03-29 18:25:38 +01:00
parent 95204ef335
commit d4c487cd92
10 changed files with 710 additions and 45 deletions
+16
View File
@@ -0,0 +1,16 @@
<template>
<div>
<h2 v-if="$slots.namedslot">
<slot name="namedslot" mdc-unwrap="p" />
</h2>
<h2 v-else>Broken Slot</h2>
<slot mdc-unwrap="p" />
</div>
</template>
<script setup lang="ts">
defineProps({
namedslot: String,
});
</script>
+2 -2
View File
@@ -40,9 +40,9 @@ const items = ref([
}
},
{
label: "About",
label: "Articles",
icon: "pi pi-link",
route: "#"
route: "/articles"
},
{
label: "Service",