Skip to main content
>_devtools

Markdown Code Fence Helper

Wrap code in a fence that can never be closed by the code, strip or normalize fences, unindent code, and turn indented code blocks into fenced ones.

What this does

Wrap code in a safe Markdown fence, clean or normalize existing fences, unindent code, or convert indented blocks. Choose an operation and edit the source to copy or download its result.

Example

const message = "hello";
→ ~~~js
const message = "hello";
~~~

Limits and behavior

  • Fence operations transform Markdown text and do not execute or syntax-check the enclosed code.