|
@@ -1,5 +1,6 @@
|
|
|
<script lang="ts">
|
|
|
import { DropdownMenu } from 'bits-ui';
|
|
|
+ import { marked } from 'marked';
|
|
|
|
|
|
import { flyAndScale } from '$lib/utils/transitions';
|
|
|
import { createEventDispatcher, onMount, getContext, tick } from 'svelte';
|
|
@@ -333,9 +334,12 @@
|
|
|
|
|
|
{#if item.model?.info?.meta?.description}
|
|
|
<Tooltip
|
|
|
- content={`${sanitizeResponseContent(
|
|
|
- item.model?.info?.meta?.description
|
|
|
- ).replaceAll('\n', '<br>')}`}
|
|
|
+ content={`${marked.parse(
|
|
|
+ sanitizeResponseContent(item.model?.info?.meta?.description).replaceAll(
|
|
|
+ '\n',
|
|
|
+ '<br>'
|
|
|
+ )
|
|
|
+ )}`}
|
|
|
>
|
|
|
<div class="">
|
|
|
<svg
|