Markdown editor in progress + Login and session process completed

This commit is contained in:
2024-08-19 16:27:09 +02:00
parent aba56bb034
commit 2e92c389a2
74 changed files with 1305 additions and 313 deletions

View File

@@ -0,0 +1,5 @@
<template>
<a>
<slot></slot>
</a>
</template>

View File

@@ -0,0 +1,12 @@
<template>
<span v-if="focused">> </span>
<blockquote ref="el" @focusin="focused = true" @focusout="focused = false">
<slot />
</blockquote>
</template>
<script setup lang="ts">
const focused = ref(false);
watch(focused, console.log);
</script>

View File

@@ -0,0 +1,3 @@
<template>
<span v-show="false"># </span><h1><slot></slot></h1>
</template>

View File

@@ -0,0 +1,12 @@
<template>
<span v-show="focused">## </span><h2><slot></slot></h2>
</template>
<script setup>
const props = defineProps({
focused: {
type: Boolean,
default: false
}
})
</script>

View File

@@ -0,0 +1,3 @@
<template>
<span v-show="false">### </span><h3><slot></slot></h3>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<span v-show="false">#### </span><h4><slot></slot></h4>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<span v-show="false">##### </span><h5><slot></slot></h5>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<span v-show="false">###### </span><h6><slot></slot></h6>
</template>