Merge MD files
Join MD files into one, end to end, in the order you add them.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MD files on the dialor turn it to pick what to do
Markdown files joined into one.Two or more MD files end to end, in the order you add them.
What you get
One MD file that holds every file you add, in the order you add them. Each file after the first starts after a thematic break. Headings and text stay as they are, and line endings are turned into LF.
YAML blocks
The YAML block of the first file stays at the top of the result. The YAML block of a later file becomes a YAML code block, so it shows as text in the body and does not act as a second header.
Labels and code blocks
If a later file uses a footnote or link label that an earlier file already uses, the later file's label gets a numbered suffix. Every reference keeps its own target.
A code block left open at the end of a file is closed. This keeps it from running into the file that follows.
Questions.What people ask about merging MD files.
In the order you add them. The first file comes first, and each later file follows after a thematic break.
It becomes a YAML code block in the body. Only the first file's YAML block stays at the top.
The later file's label gets a numbered suffix. Each footnote and link keeps pointing at its own target.
See every MD conversion for the other things you can do with MD files.