More customzation

This commit is contained in:
2025-11-28 15:29:39 +08:00
parent 985164f4c5
commit 9133d23a15
85 changed files with 4176 additions and 1439 deletions

View File

@@ -0,0 +1,18 @@
---
import type { RichText } from '../../../lib/interfaces.ts'
export interface Props {
richText: RichText
}
const { richText } = Astro.props
---
{
/* prettier-ignore */
richText.Annotation.Strikethrough ? (
<s><slot /></s>
) : (
<slot />
)
}