You've already forked AstralRinth
forked from xxxOFFxxx/AstralRinth
* Base impl * Make project type selectable * Update Browse.vue * address changes * Quick create * Run linter * fix merge * Addressed changes * Installation improvements * Run lint * resourcepacks * automatic installation of dependencies * Fix bugs with search * Addressed changes * Run linter * Fixed direct install not working * Remove back to search * Update Index.vue * Addressed some changes * Shader fix * fix resetting * Update Browse.vue * Direct install from search * More improvements * Update SearchCard.vue * Card V2 * Run linter * add instance ignoring * Update Browse.vue * Finalize changes * Update SearchCard.vue * More adjustments * Fix out of order rendering * Run linter * Fix issues * Add unlisteners --------- Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com> Co-authored-by: Jai A <jaiagr+gpg@pm.me>
38 lines
539 B
Vue
38 lines
539 B
Vue
<template>
|
|
<Card>
|
|
<div class="markdown-body" v-html="renderHighlightedString(project?.body ?? '')" />
|
|
</Card>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { Card, renderHighlightedString } from 'omorphia'
|
|
|
|
defineProps({
|
|
project: {
|
|
type: Object,
|
|
default: () => {},
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'Description',
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.markdown-body {
|
|
:deep(hr),
|
|
:deep(h1),
|
|
:deep(h2) {
|
|
max-width: max(60rem, 90%);
|
|
}
|
|
|
|
:deep(ul),
|
|
:deep(ol) {
|
|
margin-left: 2rem;
|
|
}
|
|
}
|
|
</style>
|