All Projects → mle86 → man-to-md

mle86 / man-to-md

Licence: GPL-3.0 license
Converts man pages to Markdown

Programming Languages

perl
6916 projects
Roff
2310 projects
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to man-to-md

filter
⏳ Provide filtering, sanitizing, and conversion of Golang data. 提供对Golang数据的过滤,净化,转换。
Stars: ✭ 53 (+3.92%)
Mutual labels:  converter, filter
romans
A Simple PHP Roman Numerals Library
Stars: ✭ 40 (-21.57%)
Mutual labels:  converter, filter
pyreports
pyreports is a python library that allows you to create complex report from various sources
Stars: ✭ 78 (+52.94%)
Mutual labels:  filter
readme-ascii
Turns text into images of ASCII art for GitHub README files.
Stars: ✭ 48 (-5.88%)
Mutual labels:  readme
ARF-Converter
Bulk ARF file converter
Stars: ✭ 15 (-70.59%)
Mutual labels:  converter
Windows-System-Wide-Filter
Windows WDM driver filters to filter IO to devices and file systems
Stars: ✭ 49 (-3.92%)
Mutual labels:  filter
github-stats-generator
Generate your GitHub stats for your README with ease!
Stars: ✭ 31 (-39.22%)
Mutual labels:  readme
ytdx
Download audio from YouTube videos
Stars: ✭ 55 (+7.84%)
Mutual labels:  converter
BlackIQ
Who I am !?
Stars: ✭ 19 (-62.75%)
Mutual labels:  readme
Pulse
❤️ A heart rate camera pulse detector written in Swift.
Stars: ✭ 53 (+3.92%)
Mutual labels:  filter
readmesfix
Because I'm tired of running into broken READMEs!
Stars: ✭ 63 (+23.53%)
Mutual labels:  readme
calibre-kindle-comics
A calibre plugin that converts your comics into a readable format for kindle.
Stars: ✭ 32 (-37.25%)
Mutual labels:  converter
VIDEOconvertor
A stable and Fast telegram video convertor bot which can encode into different libs and resolution, compress videos, convert video into audio and other video formats, rename with thumbnail support, generate screenshot and trim videos.
Stars: ✭ 180 (+252.94%)
Mutual labels:  converter
csv2html
Convert CSV files to HTML tables
Stars: ✭ 64 (+25.49%)
Mutual labels:  converter
CFortranTranslator
A translator from Fortran to C++. We provide statement-wise translation to improve readability.
Stars: ✭ 81 (+58.82%)
Mutual labels:  converter
arthurspk
Esse repositório contém as informações do meu readme que está presente na página principal do meu perfil do github.
Stars: ✭ 84 (+64.71%)
Mutual labels:  readme
laminas-i18n
Provide translations for your application, and filter and validate internationalized values
Stars: ✭ 40 (-21.57%)
Mutual labels:  filter
openapi-filter
Filter internal paths, operations, parameters, schemas etc from OpenAPI/Swagger/AsyncAPI definitions
Stars: ✭ 112 (+119.61%)
Mutual labels:  filter
Filters
An Arduino finite impulse response and infinite impulse response filter library.
Stars: ✭ 36 (-29.41%)
Mutual labels:  filter
MyCuration
RSS Reader for Android with article filtering and curation
Stars: ✭ 23 (-54.9%)
Mutual labels:  filter

man-to-md(1) - Converts nroff man pages to Markdown

Version 0.17.0, December 2020

$ man-to-md.pl [OPTIONS] <manpage.roff >output.md

Description

This program is a filter that reads man(7)-formatted nroff man pages and outputs Markdown. It can be used to automatically convert man page files to Markdown README files.

Options

  • -p, --paste-section-after SECTION:FILENAME
    Instructs the program to attach a Markdown file after the section named SECTION has been completely written to the output. SECTION must be an exact match of the input section name. If the input contains no such section, the file will be attached to the end of the output. The attached file contents will have the exact FILENAME (without the .md extension) as their top-level section title.
    This option can be supplied more than once. Multiple files for the same section will be attached in the options' order.
  • -P, --paste-section-before SECTION:FILENAME
    Like --paste-section-after, but attaches the file contents to the output just before the named section is written.
  • --paste-after SECTION:FILENAME
    Like --paste-section-after, but does not add a section title.
  • --paste-before SECTION:FILENAME
    Like --paste-section-before, but does not add a section title.
  • -c, --comment [COMMENT]
    Adds an invisible comment as first line. Without the argument, it uses this default comment:
    This file was autogenerated from the man page with 'make README.md'”.
  • --escaped-dashes
    Don't remove the backslash from escaped dashes (\-).
  • -w, --word WORD
    Adds a WORD to the list of known words not to be titlecased in section titles. (All other words will be titlecased except some known English stopwords which will be lowercased.)
    This option can be supplied more than once to add multiple known words.
  • -f, --formatted-code
    Allows simple formatting in .nf-.fi code blocks and in the Synopsis line. (Without this option, all formatting in code block and in the Synopsis line will be removed.)
  • -h, --help
    Shows program help.
  • -V, --version
    Shows version and license information.

Standards

This program understands many man(7) nroff commands and macros commonly used in man page files. For a complete list, see doc/Commands.md.

The program emits Markdown syntax that should be readable with most Markdown editors/viewers. See doc/Markdown_Output_Format.md for more information.

The program makes several assumptions about the input format that are not standardized but seem to be fairly commonplace in man pages; see doc/Input_Format.md. It does not yet understand the newer mdoc(7) format.

License

GNU GPL v3

See Also

Project homepage: https://github.com/mle86/man-to-md

Author

Maximilian Eul <[email protected]> (https://github.com/mle86)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].