---
title: "md2man 5.0.1 Breaking Changes on RubyGems | Since.dev"
description: "What each md2man release removed, renamed or changed: 10 breaking changes in 4 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/md2man
last_updated: 2026-12-04
---

# md2man breaking changes

md2man 5.0.1 (February 13, 2016) is its newest release with breaking changes. The first: Behavior changed md2man-html. Every breaking API change we have recorded in md2man on RubyGems: 10 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.1.2`. [Source repository](https://github.com/sunaku/md2man)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [4.0.0](#v-4-0-0) to [5.0.1](#v-5-0-1): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [5.0.1](#v-5-0-1): 6 breaking changes in 3 versions.

## md2man 5.0.1 breaking changes

md2man 5.0.1, released February 13, 2016: 1 breaking change.

- **Behavior changed** `md2man-html`  

Permalinks in md2man-html output now come after the heading text instead of before it. Users who depend on the old placement or parse the generated HTML should check their output. [github.com](https://github.com/sunaku/md2man/releases/tag/v5.0.1)

## md2man 4.0.0 breaking changes

md2man 4.0.0, released October 26, 2014: 3 breaking changes.

- **Behavior changed**  

Cross references written inside code spans and code blocks are left as literal text instead of being expanded. Code that relied on the expansion there must change. [github.com](https://github.com/sunaku/md2man/releases/tag/v4.0.0)
- **Behavior changed** `Md2Man.Document.block_code`  

Md2Man::Document now defines block_code(code, language). Subclasses that override it must call super() to keep the original implementation running. [github.com](https://github.com/sunaku/md2man/releases/tag/v4.0.0)
- **Behavior changed** `Md2Man.Document.codespan`  

Md2Man::Document now defines codespan(code). Subclasses that override it must call super() to keep the original implementation running. [github.com](https://github.com/sunaku/md2man/releases/tag/v4.0.0)

## md2man 3.0.0 breaking changes

md2man 3.0.0, released June 23, 2014: 2 breaking changes.

- **Renamed** `md2man-xref`  

The md2man-xref CSS class is renamed to md2man-reference, so stylesheets targeting the old class must be updated. [github.com](https://github.com/sunaku/md2man/releases/tag/v3.0.0)
- **Behavior changed** `md2man-html`  

Permalink anchors on headings are now fully lowercase, and bookmarks or links to old anchors must be updated. [github.com](https://github.com/sunaku/md2man/releases/tag/v3.0.0)

## md2man 2.0.0 breaking changes

md2man 2.0.0, released May 6, 2013: 4 breaking changes.

- **Renamed** `manpage-reference`  

The CSS class used for cross-references in HTML output is now md2man-xref. Update stylesheets that target the old class. [github.com](https://github.com/sunaku/md2man/releases/tag/v2.0.0)
- **Renamed** `md2man`  

The md2man(1) executable is now md2man-roff(1). Update scripts and commands that call md2man to use md2man-roff. [github.com](https://github.com/sunaku/md2man/releases/tag/v2.0.0)
- **Renamed** `Md2Man.Engine`  

The Md2Man::Engine class is now Md2Man::Roff::Engine. Update code that references the old name. [github.com](https://github.com/sunaku/md2man/releases/tag/v2.0.0)
- **Signature changed** `Md2Man.Document.reference`  

The reference method takes two MatchData parameters: input_match with :page and :section captures, and output_match with an :addendum capture. Update callers to pass these two arguments. [github.com](https://github.com/sunaku/md2man/releases/tag/v2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
