Added Markdown support
This commit is contained in:
@ -106,6 +106,7 @@
|
||||
</div>
|
||||
<div class="sidebar-info">
|
||||
<p>Preview mode shows only completed elements.</p>
|
||||
<p>Markdown is supported for formatting text, links, and lists.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -119,6 +120,18 @@
|
||||
<input type="file" id="import-json" accept=".json" style="display: none;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-section">
|
||||
<h3>Markdown Help</h3>
|
||||
<div class="sidebar-info markdown-help">
|
||||
<p><strong>Bold text:</strong> **bold** or __bold__</p>
|
||||
<p><em>Italic text:</em> *italic* or _italic_</p>
|
||||
<p><strong>Links:</strong> [text](url)</p>
|
||||
<p><strong>Lists:</strong> Start lines with - or 1.</p>
|
||||
<p><strong>Headings:</strong> # Heading or ## Subheading</p>
|
||||
<p><strong>Quotes:</strong> > Your quoted text</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -8,9 +8,10 @@
|
||||
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
|
||||
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon">
|
||||
|
||||
<!-- JS libraries for PDF export -->
|
||||
<!-- JS libraries for PDF export and Markdown -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
|
||||
<!-- Custom JS for the builder -->
|
||||
{{ if eq .Layout "builder" }}
|
||||
|
Reference in New Issue
Block a user