This commit is contained in:
team3
2026-06-21 18:32:55 +02:00
parent 3965bc5bf9
commit befd509c08
15 changed files with 1315 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
<script setup>
import BausteinPanel from './BausteinPanel.vue'
import MermaidView from './MermaidView.vue'
import { renderMarkdown } from '../markdown.js'
const props = defineProps({
@@ -88,7 +89,8 @@ const standFarbe = computed(() => {
</div>
<div class="fokus-body">
<div ref="guideEl" class="fokus-col left">
<div class="markdown" v-html="renderMarkdown(ansicht === 'kompakt' ? (baustein.kompakt || baustein.md) : baustein.md)"></div>
<MermaidView v-if="ansicht === 'grafik'" :code="baustein.grafik || ''" />
<div v-else class="markdown" v-html="renderMarkdown(ansicht === 'kompakt' ? (baustein.kompakt || baustein.md) : baustein.md)"></div>
</div>
<div ref="rightEl" class="fokus-col right">
<BausteinPanel