Convert MDOC to MARKUA

Turn MDOC files into MARKUA. A Markua manuscript with headings, lists, tables, links and footnotes; a table with merged cells or several paragraphs in a cell becomes a [TABLE] line.

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 man page as a Markua manuscript.Sections become headings, and flags and commands become code.

  1. What you get

    One Markua 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. Column lists become tables whose first row is not a header.

    Macros that stand for a standard sentence, such as .Ex -std, are written out as that sentence in the text.

  2. What it leaves behind

    The title, the section number and the date are dropped, so they do not appear in the Markua file.

    Tables are limited. A table with merged cells, or with several paragraphs in one cell, becomes a [TABLE] line instead of a table. Check for that marker if your page has complex tables.

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

Markua

Markua, the Markdown dialect Leanpub publishes books from.

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

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

terminal
$ cv convert report.mdoc report.markua
$ cv convert report.mdoc report.markua

Questions.What people ask about MDOC to MARKUA.

01OF 04

Sections. Each section of the manual page becomes a heading in the Markua file.

Flags, arguments and command names are written as code.

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

It becomes a [TABLE] line. The same happens when a cell holds several paragraphs.

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