21 lines
385 B
Vue
21 lines
385 B
Vue
<template>
|
|
<h1 :id="parseId(id)" class="text-5xl font-thin mt-3 mb-8 first:pt-0 pt-2">
|
|
<slot />
|
|
</h1>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { parseId } from '#shared/general.util';
|
|
const props = defineProps<{ id?: string }>()
|
|
</script>
|
|
|
|
<style>
|
|
.HyperMD-header-1
|
|
{
|
|
@apply text-5xl pt-4 pb-2 after:hidden;
|
|
}
|
|
.HyperMD-header-1 .cm-header
|
|
{
|
|
@apply font-thin;
|
|
}
|
|
</style> |