Skip to content
OddsockLocal
Local
Source text

Notes

  • Red sock
  • Blue sock
  • 8 wordsRuns in this browser. Nothing is uploaded.

    How to use

    1. Paste the Markdown, or drop a Markdown file.
    2. Read the headings and the list markers.
    3. Check blank lines. One blank line separates blocks.
    4. Copy the Markdown. It is still Markdown, not HTML.

    What is Markdown formatter?

    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.

    Read more

    “# 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.

    Use cases

    • A docs writer turning mixed * and - lists into hyphens.
    • An editor collapsing the triple blank lines a paste introduced.
    • A reviewer making headings sit a blank line away from the next block.
    • A student checking that a plain sentence was not given a hash.
    • A repo cleanup before a diff, so the only change is structure.

    A heading and two star bullets

    # 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.

    Why use Oddsock

    Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

    Related tools

    Using this tool

    “Odd socks in the dryer.” stays those words. The formatted text ends with a newline. It does not gain a heading mark.