Everything runs in your browser. The preview is sandboxed, so scripts in pasted HTML never run. The formatter rebuilds your Markdown from its structure, so rare extras such as footnotes or raw HTML blocks may be simplified. Check the result before you replace the original.