Convert MDOC to CHUNKEDHTML

Turn MDOC files into CHUNKEDHTML. Linked HTML pages in a zip, a contents page and one page for each top-level heading, 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 linked web pages.One zip with a contents page and a page for each top-level heading.

  1. What you get

    A single zip of linked HTML pages. It holds a contents page and one page for each top-level heading, so a long manual page is split into parts you can browse.

    Headings, lists, tables, links and footnotes are kept. Put the zip on any web server and the pages work together.

  2. How the macros are mapped

    Sections become headings. Tag lists become definition lists. Flags, arguments and command names are set as code.

    Column lists become tables. The first row of these tables is not marked as a header.

    Sentences that macros such as .Ex -std stand for are written out in full in the pages.

  3. What changes

    The section number is dropped. The conversion has no options, so there is nothing to set.

    For other formats, see every MDOC conversion. To see where else Chunked HTML comes from, see every CHUNKEDHTML conversion.

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

Chunked HTML

A document split into linked HTML pages, one per chapter, with a contents page, zipped to put on any web server.

Extensions
.html.zip
MIME type
application/x-chunked-html+zip
Kind
Text and data

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

terminal
$ cv convert report.mdoc report.html.zip
$ cv convert report.mdoc report.html.zip

Questions.What people ask about MDOC to CHUNKEDHTML.

01OF 04

You get one zip file. It holds a contents page and one linked HTML page for each top-level heading.

Yes. Tag lists become definition lists, and flags, arguments and command names are set as code.

The sentences they stand for are written out in the HTML.

No. The section number is dropped.

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