Attempt at Markdown page rendering
Syntax highlighting doesn't work yet.
This commit is contained in:
@@ -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>
|
||||
@@ -40,9 +40,9 @@ const items = ref([
|
||||
}
|
||||
},
|
||||
{
|
||||
label: "About",
|
||||
label: "Articles",
|
||||
icon: "pi pi-link",
|
||||
route: "#"
|
||||
route: "/articles"
|
||||
},
|
||||
{
|
||||
label: "Service",
|
||||
|
||||
Reference in New Issue
Block a user