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.

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

  2. Commands and examples

    Flags, arguments and command names are written as code. Displays become code blocks.

    Column lists become tables.

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

From · MDOC

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
To · MD

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.

terminal
$ cv convert report.mdoc report.md
$ cv convert report.mdoc report.md

Questions.What people ask about MDOC to MD.

01OF 04

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.

More conversions.Other ways in and out of MDOC and MD.