Convert MDOC to ORG

Turn MDOC files into ORG. An Org mode document with headings, lists, tables, links and footnotes.

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 manual page as an Org document.Sections become headings, and tag lists become definition lists.

  1. What you get

    One Org mode file with headings, lists, tables, links and footnotes. Each section of the manual page becomes a heading.

    Tag lists become definition lists. Flags, arguments and command names are written as code.

  2. What changes

    Column lists become tables. The first row of such a table is not a header row.

    Some macros stand for whole sentences, such as .Ex -std. Those sentences are written out in full in the Org file.

    The section number is dropped.

MDOC and ORG.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 · ORG

Org Mode

Org mode, Emacs' outliner and notebook format.

Extensions
.org
MIME type
text/x-org
Kind
Text and data

In your code.The same MDOC to ORG conversion through the API, for your app or your agent.

terminal
$ cv convert report.mdoc report.org
$ cv convert report.mdoc report.org

Questions.What people ask about MDOC to ORG.

01OF 04

A heading in the Org file.

As code. The same goes for arguments.

The sentence the macro stands for is written out as text in the Org file.

No. The section number is dropped.

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