This commit is contained in:
Isaiah 2023-12-02 22:24:43 -05:00
parent 6b1a8d76e5
commit 7c689148d5
2 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,7 @@
<script setup lang="ts">
import { useElementSize, useStorage } from '@vueuse/core';
import { renderMarkdown } from './markdown-viewer.service';
const inputElement = ref<HTMLElement>();
const rawMd = useStorage('markdown-viewer:raw-md', '# Hello World');
const { height } = useElementSize(inputElement);
@ -10,7 +11,6 @@ const cardStyles = computed(() => ({
overflow: 'scroll',
maxHeight: `${height.value}px`,
}));
</script>
<template>