---
import { renderInlineMarkdown } from '@/utils/docs/renderInlineMarkdown';

interface Props {
  content?: string;
  fallback?: string;
}

const { content, fallback = '-' } = Astro.props;

const html = content ? renderInlineMarkdown(content) : fallback;
---

<Fragment set:html={html} />
