diff --git a/src/components/api-section.svelte b/src/components/api-section.svelte index 0fdbd8454..dbaaf34f7 100644 --- a/src/components/api-section.svelte +++ b/src/components/api-section.svelte @@ -3,6 +3,7 @@ import { DataAttrsTable, PropsTable } from "@/components"; import { h2 as H2, p as P } from "@/components/markdown"; import type { APISchema } from "@/types"; + import { parseMarkdown } from "@/utils"; export let schemas: APISchema[] = []; @@ -21,7 +22,7 @@ >{schema.title} -

{schema.description}

+

{@html parseMarkdown(schema.description)}

{#if schema.props}