linstrom/frontend-vue/src/components/util/FormattedText.vue
mStar 6515bda730
Some checks failed
/ docker (push) Has been cancelled
Some progress on porting frontend
2025-07-10 20:23:59 +02:00

11 lines
403 B
Vue

<script setup lang="ts">
const props = defineProps<{
rawText: string // Raw text (already pre-transformed by server into Linstrom format)
}>()
// TODO: Start figuring out how to format this stuff.
// Probably something akin to the treeificator. Marshal text into tree first,
// then adjust tree nodes to types that unmarshal into html
</script>
<template>
<p>{{props.rawText}}</p>
</template>