Differences between revisions 1 and 2
Revision 1 as of 2013-05-20 16:17:04
Size: 1287
Editor: 213
Comment: Add new extension page
Revision 2 as of 2013-08-26 09:50:58
Size: 257
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers 2
= Markdown Extension =

Markdown Extension for hgweb.

<<TableOfContents>>

== Status ==

'''This extension is not distributed with Mercurial.'''

''Author: '' ''Chris Eldredge''

Repository: ''[[https://bitbucket.org/celdredge/hgext.markdown]]''

== Overview ==

Similar to GitHub, this module looks for a file named ReadMe.md 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.

== Installation ==

 1. Install Python-Markdown (http://packages.python.org/Markdown/install.html)
 1. Clone this repository to /example/hgext.markdown
 1. Add the following to your hgweb config

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

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

[extensions]
hgext.markdown=/example/hgext.markdown
}}}

== See also ==

----
CategoryExtensionsByOthers
Santa Cruz-born Luba Gonzales is entirely hooked on [[http://rumbalatinanyc.com/groups/stress-free-travel-yes-its-possible/|Costa Blanca Spain weather today,]] gizmos, saltwater aquariums. And finally she is captivated by playing with her nearest friends.

Santa Cruz-born Luba Gonzales is entirely hooked on Costa Blanca Spain weather today, gizmos, saltwater aquariums. And finally she is captivated by playing with her nearest friends.

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