Convert MDOC to TEXTILE

Turn MDOC files into TEXTILE. Textile markup with headings, lists, tables and links.

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 Textile markup.Headings, lists, tables and links, written as one Textile file.

  1. What you get

    One Textile file with the structure of the manual page. Sections become headings, and tag lists become definition lists.

    Flags, arguments and command names become code. Column lists become tables.

  2. What changes

    The first row of a table made from a column list is not a header.

    Macros such as .Ex -std stand for sentences. Those sentences are written out in the Textile file.

  3. What is dropped

    The title, the section number and the date are dropped. They do not appear in the Textile file.

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

Textile

Textile markup, once common in Rails apps and Redmine.

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

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

terminal
$ cv convert report.mdoc report.textile
$ cv convert report.mdoc report.textile

Questions.What people ask about MDOC to TEXTILE.

01OF 04

Yes. Each section becomes a heading in the Textile file.

Flags, arguments and command names become code.

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

The sentence the macro stands for is written out in the Textile file.

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