Convert MDOC to OPML
Turn MDOC files into OPML. An OPML outline titled from the Dt line, with one item per section, nested by level, and the text of each section as the item's note in Markdown.
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 an outline.Each section becomes an item, and its text goes into the item's note.
What you get
An OPML outline, titled from the Dt line of the manual page. Each section of the page is one item, and sections are nested by level, so subsections sit under their parent.
The text of each section is placed in the item's note in Markdown. The result opens in outliners and feed readers.
How the text is marked up
Tag lists become definition lists. Flags, arguments and command names become code, so they stand out from the surrounding text.
The section number is dropped. The title of each section and its text stay.
MDOC and OPML.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
OPML Outline
OPML outlines, the exchange format of outliners and feed readers.
- Extensions
- .opml
- MIME type
- text
/x -opml - Kind
- Text and data
In your code.The same MDOC to OPML conversion through the API, for your app or your agent.
$ cv convert report.mdoc report.opml$ cv convert report.mdoc report.opmlQuestions.What people ask about MDOC to OPML.
The title comes from the Dt line of the MDOC file.
Yes. The text of each section is the note of its item, written in Markdown.
Items are nested by level. A subsection becomes an item under the section that holds it.
One file. The whole manual page becomes a single OPML outline.