Render Markdown

Renders input Markdown as HTML. HTML rendering is disabled to avoid XSS.

Input: TextResult: HTML with a sandboxed preview

Text input

Tool options

Examples

Basic Text

Input

Hello World!

Expected answer

<div style="font-family: var(--primary-font-family)"><p>Hello World!</p>
</div>
Autoconvert URLs to links
Off
Enable syntax highlighting
On
Open links in new tab.
Off
Link (expanded)

Input

[CyberChef](https://gchq.github.io/CyberChef/)

Expected answer

<div style="font-family: var(--primary-font-family)"><p><a href="https://gchq.github.io/CyberChef/">CyberChef</a></p>
</div>
Autoconvert URLs to links
On
Enable syntax highlighting
Off
Open links in new tab.
Off
Link (not expanded)

Input

[CyberChef](https://gchq.github.io/CyberChef/)

Expected answer

<div style="font-family: var(--primary-font-family)"><p><a href="https://gchq.github.io/CyberChef/">CyberChef</a></p>
</div>
Autoconvert URLs to links
Off
Enable syntax highlighting
Off
Open links in new tab.
Off
Link (open in new window)

Input

[CyberChef](https://gchq.github.io/CyberChef/)

Expected answer

<div style="font-family: var(--primary-font-family)"><p><a href="https://gchq.github.io/CyberChef/" target="_blank">CyberChef</a></p>
</div>
Autoconvert URLs to links
On
Enable syntax highlighting
Off
Open links in new tab.
On
Simple Markdown

Input

# Hello World!

Expected answer

<div style="font-family: var(--primary-font-family)"><h1>Hello World!</h1>
</div>
Autoconvert URLs to links
Off
Enable syntax highlighting
On
Open links in new tab.
Off
URL (expanded)

Input

https://gchq.github.io/CyberChef/

Expected answer

<div style="font-family: var(--primary-font-family)"><p><a href="https://gchq.github.io/CyberChef/">https://gchq.github.io/CyberChef/</a></p>
</div>
Autoconvert URLs to links
On
Enable syntax highlighting
Off
Open links in new tab.
Off
URL (not expanded)

Input

https://gchq.github.io/CyberChef/

Expected answer

<div style="font-family: var(--primary-font-family)"><p>https://gchq.github.io/CyberChef/</p>
</div>
Autoconvert URLs to links
Off
Enable syntax highlighting
Off
Open links in new tab.
Off
URL (open in new window)

Input

https://gchq.github.io/CyberChef/

Expected answer

<div style="font-family: var(--primary-font-family)"><p><a href="https://gchq.github.io/CyberChef/" target="_blank">https://gchq.github.io/CyberChef/</a></p>
</div>
Autoconvert URLs to links
On
Enable syntax highlighting
Off
Open links in new tab.
On
Nothing

Input

Expected answer

<div style="font-family: var(--primary-font-family)"></div>
Autoconvert URLs to links
Off
Enable syntax highlighting
On
Open links in new tab.
Off

Format reference: Render Markdown background and specification

Parameters

ParameterDefault valueInput and choices
Autoconvert URLs to linksfalseOn or off
Enable syntax highlightingtrueOn or off
Open links in new tab.falseOn or off

Related tools

Browse code tidy tools