- 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>
17 lines
424 B
HTML
17 lines
424 B
HTML
<div class="slide layout-markdown-slide">
|
|
<h1 class="slot title-slot"
|
|
data-slot="title"
|
|
data-type="title"
|
|
data-placeholder="Slide Title"
|
|
data-required>
|
|
{{title}}
|
|
</h1>
|
|
|
|
<div class="slot markdown-content"
|
|
data-slot="content"
|
|
data-type="markdown"
|
|
data-placeholder="Enter your markdown content here..."
|
|
data-multiline="true">
|
|
{{content}}
|
|
</div>
|
|
</div> |