Markdown that several people edited drifts: star bullets beside hyphen bullets, three blank lines where one belongs, a heading jammed against the next paragraph. This page rewrites the structure it understands. A heading becomes hash marks, a space, the heading text, and a blank line. An unordered list that used * or + becomes hyphens. Extra blank lines collapse. The result ends with a single newline.
“# Odd socks” followed by star bullets “one” and “two”, then a pile of blank lines, then “A line.” becomes “# Odd socks”, a blank line, “- one”, “- two”, a blank line, and “A line.” A sentence with no Markdown in it, “Odd socks in the dryer.”, is a paragraph. It comes back as that sentence plus a newline. The words are not retitled and the period stays.
This is not a linter with opinions about line length, and it is not a converter to HTML. The HTML page and the preview render the document. This page hands back Markdown. Links, images, and code are left in the form the parser already accepted, aside from the list marker and the blank lines around blocks.
# Odd socks * one * two A line.
# Odd socks - one - two A line. Stars became hyphens. The extra blank line collapsed. The file ends with one newline.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
“Odd socks in the dryer.” stays those words. The formatted text ends with a newline. It does not gain a heading mark.
Yes. Unordered items that start with * or + are rewritten to start with - . Ordered lists are not renumbered by this pass.
No. You get Markdown back. Markdown to HTML is the page that emits tags.
Runs of blank lines collapse. A heading is written with a blank line after it. Blocks stay separated by one blank line.
No. This pass evens structure. It does not extract links and it does not sanitize them. The link extractor and the HTML converter do those jobs.