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.
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.
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.
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
Man Page
Unix manual pages in troff.
- Extensions
- .man
- MIME type
- text
/troff - Kind
- Text and data
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.
$ cv convert report.man report.dj$ cv convert report.man report.djQuestions.What people ask about MAN to DJOT.
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.