- Implement safe markdown processing with marked and DOMPurify - Add markdown-slide layout template with dedicated markdown slots - Support auto-detection of markdown content in text slots - Include comprehensive markdown styling (lists, headers, code, quotes, tables) - Maintain security with HTML sanitization and safe element filtering - Add markdown documentation to theme creation guidelines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
511 B
HTML
11 lines
511 B
HTML
<div class="fade-in slide layout-image-slide">
|
|
<h1 class="slot title-slot" data-slot="title" data-placeholder="Slide Title" data-required>
|
|
{{title}}
|
|
</h1>
|
|
<div class="slot image-container" data-slot="image" data-placeholder="Click to add image" data-accept="image/*">
|
|
{{#image}}
|
|
<img id="main-image" src="{{image}}" alt="{{imageAlt}}" />
|
|
{{/image}}
|
|
</div>
|
|
<input type="text" class="slot image-alt" data-slot="image-alt" data-placeholder="Image description" data-hidden="true">
|
|
</div> |