Convert MDOC to MEDIAWIKI
Turn MDOC files into MEDIAWIKI. MediaWiki page markup 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
Manual pages as MediaWiki markup.Sections become headings, and tag lists become definition lists.
What you get
One MediaWiki 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, so they stand out from the surrounding text.
Tables and macros
Column lists become tables. The first row of each table is not a header row.
Macros that stand for a fixed sentence, such as
.Ex -std, are written out as that sentence in the page text.What it leaves behind
The title, the section number and the date are dropped. They do not appear in the MediaWiki output.
MDOC and MEDIAWIKI.What each format is.
The formats
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
MediaWiki
MediaWiki markup, the syntax of Wikipedia articles.
- Extensions
- .wiki .mediawiki
- MIME type
- text
/x -wiki - Kind
- Text and data
In your code.The same MDOC to MEDIAWIKI conversion through the API, for your app or your agent.
$ cv convert report.mdoc report.wiki$ cv convert report.mdoc report.wikiQuestions.What people ask about MDOC to MEDIAWIKI.
Yes. Each section becomes a heading in the MediaWiki file.
Flags, arguments and command names are written as code.
The sentence the macro stands for is written out in full in the page text.
No. The title, the section number and the date are dropped.