Convert MDOC to DJOT

Turn MDOC files into DJOT. A Djot 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 Djot document from a manual page.Sections, tables, links and footnotes carry over. The title and date do not.

  1. What you get

    A Djot document with headings, lists, tables, links and footnotes. Each section of the manual page becomes a heading.

    Tag lists become definition lists. Column lists become tables, and the first row of those tables is not a header.

  2. How the text is marked

    Flags, arguments and command names are written as code, so they stand out from the surrounding text.

    Macros that stand for a whole sentence, such as .Ex -std, are written out as that sentence in the Djot file.

  3. What it leaves behind

    The title, the section number and the date are dropped. Only the content of the page is kept.

    For other conversions of this kind, see every MDOC conversion or every DJOT conversion.

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

Djot

Djot, a lightweight markup language by the author of pandoc.

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

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

terminal
$ cv convert report.mdoc report.dj
$ cv convert report.mdoc report.dj

Questions.What people ask about MDOC to DJOT.

01OF 04

Each section becomes a heading in the Djot document.

Tag lists become definition lists.

No. Column lists become tables whose first row is not a header.

No. The title, the section number and the date are dropped.

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