import { html, cssManager } from '@design.estate/dees-element'; export const demoFunc = () => html`
Image Preview (URL)
Auto-detects image from URL extension and renders with the image viewer.
PDF Preview (URL)
Auto-detects PDF and displays with the PDF viewer including toolbar.
Code Preview (Text Content)
TypeScript code displayed with syntax highlighting via the codebox.
Hello World\`; } }`} >
Audio Preview (URL)
Audio file detected by extension, shown with waveform player.
Video Preview (URL)
Video file detected from URL, rendered with custom video controls.
Explicit Type Override
Force content type to 'text' even though the URL has no extension.
Unknown Type
When content type cannot be detected, shows a placeholder.
`;