Markdown Extension

Markdown Extension for hgweb.

1. Status

This extension is not distributed with Mercurial.

Author: Chris Eldredge


2. Overview

Similar to GitHub, this module looks for a file named or ReadMe.markdown (case insensitive).

A custom theme is provided that displays the formatted contents on the summary (index) view.

In addition to showing formatted information on the summary view, this module replaces the default file view for .md or .markdown files, enabling you to use the WikiLinks extension to support documentation split across several pages.

3. Installation

  1. Install Python-Markdown (

  2. Clone this repository to /example/hgext.markdown
  3. Add the following to your hgweb config

4. Configuration

Configure your .hgrc to enable the extension by adding following lines:

templates = /example/hgext.markdown/templates
style = markdown
#optional; 'tip' is default value.
markdown.changeid = tip


5. See also


MarkdownExtension (last edited 2019-08-14 15:55:48 by x)