HTML Code Generator for Sellerdeck and Web Use
Embedding the Tool
Insert this where you want the editor to appear:
<div id="titan-code-builder"></div>
<script src="https://www.titanjewellery.co.uk/code-editor-01.js" defer></script>
How it works
- Generate Single-Line HTML turns your text into one continuous HTML string.
Use this for Sellerdeck variables, where line breaks break the code. - Generate Formatted HTML outputs indented, spaced HTML.
Use this where formatted text is supported.
Conversion rules
- Paragraphs: Non-empty lines become
<p>…</p>
. - Blank lines: End lists and insert a single
<br>
. - Bullets: Lines starting with
-
,*
oro
become<ul><li>…</li></ul>
. - Tables: Simple tables with
|
separators render as HTML tables in the preview.
Copy & preview
The Copy HTML button copies the generated code to your clipboard.
The Preview Output area shows the live rendering below.
Use cases
Use the single-line option for Sellerdeck variables.
Use the formatted option elsewhere on your site.