Convert MDOC to MD
Turn MDOC files into Markdown. GitHub Markdown with the title, section and date in a YAML block at the top, sections as headings, tag lists as definition lists, flags, arguments and command names as code, displays as code blocks and column lists as tables.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MDOC files on the dialor turn it to pick what to do
A Markdown file from a BSD manual page.Sections become headings, and the title, section and date go in a YAML block.
What you get
One GitHub Markdown file. At the top is a YAML block with the title, the section and the date of the manual page.
Each section of the page becomes a heading. Tag lists become definition lists.
Commands and examples
Flags, arguments and command names are written as code. Displays become code blocks.
Column lists become tables.
Where to go next
The result is a plain Markdown file. To see other conversions, go to every MDOC conversion or every MD conversion.
MDOC and MD.What each format is.
The formats
BSD mdoc Manual
Manual pages written in the semantic mdoc macros of BSD systems and macOS.
- Extensions
- .mdoc
- MIME type
- text
/x -mdoc - Kind
- Text and data
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
In your code.The same MDOC to MD conversion through the API, for your app or your agent.
$ cv convert report.mdoc report.md$ cv convert report.mdoc report.mdQuestions.What people ask about MDOC to MD.
A YAML block with the title, the section and the date of the manual page.
They are written as code in the Markdown file.
They become definition lists.
They become tables.