Convert MAN to DJOT

Turn MAN 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 MAN files on the dialor turn it to pick what to do

A man page as a Djot document.Sections become headings, and the text keeps its bold, italic and tables.

  1. What you get

    One Djot file with headings, lists, tables, links and footnotes. Each section of the man page becomes a heading.

    Tagged paragraphs become definition lists. Bold and italic fonts stay bold and italic, and examples and tables are kept.

  2. What it leaves behind

    The title, the section number and the date are dropped. The header and footer fields are dropped too.

    A page written in the BSD mdoc macros keeps only its running text.

  3. Going the other way

    To turn Djot back into a man page, use DJOT to MAN. The title, section number and date are not in the Djot file, so they cannot come back from it.

MAN and DJOT.What each format is.

The formats

From · MAN

Man Page

Unix manual pages in troff.

Extensions
.man
MIME type
text/troff
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 MAN to DJOT conversion through the API, for your app or your agent.

terminal
$ cv convert report.man report.dj
$ cv convert report.man report.dj

Questions.What people ask about MAN to DJOT.

01OF 04

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

They become definition lists in the Djot file.

Yes. Bold and italic fonts are kept, along with examples and tables.

Pages written in the BSD mdoc macros keep only their running text.

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