Details
Text Preview renders text input as formatted HTML. It supports three input formats:
- Markdown (default) — Converts Markdown syntax to HTML and renders it.
- HTML — Renders raw HTML input directly, with sanitization applied to remove scripts, event handlers, and external styles.
- Plain Text — Displays text as-is, preserving whitespace and line breaks.
When using HTML input, the tool sanitizes the content to ensure safety by stripping <script> tags, inline event handlers (onclick, onerror, etc.), and external stylesheet references.
