Convert MDOC to ASCIIDOC

Turn MDOC files into ASCIIDOC. An AsciiDoc 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 AsciiDoc.Sections become headings, and tag lists become definition lists.

  1. What you get

    An AsciiDoc document with headings, lists, tables, links and footnotes. You get one file.

    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 each table is not treated as a header.

    Some macros stand for whole sentences. The macro .Ex -std is one of them, and the sentence it stands for is written out in full in the AsciiDoc.

    The section number is dropped.

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

AsciiDoc

AsciiDoc, the markup of many software manuals.

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

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

terminal
$ cv convert report.mdoc report.adoc
$ cv convert report.mdoc report.adoc

Questions.What people ask about MDOC to ASCIIDOC.

01OF 04

Sections. Each section of the manual page becomes a heading in the AsciiDoc document.

As code. Flags, arguments and command names are all written as code in the output.

One file. The whole manual page is written to a single AsciiDoc document.

No. The section number is dropped from the output.

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