Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

MarkdownMarkupExtension

Summary: Use Markdown markup with PmWiki
Version: 0.1
Prerequisites: pmwiki-2.0
Last-tested-with: pmwiki-2.1beta37
Status: stable
Maintainer:
Categories: Markup
Votes:

Question

How to use John Grubers Markdown markup?

Answer

Installation

  • download markdownpmw.phpΔ and put it into your cookbook folder
  • include this file with include_once("$FarmD/cookbook/markdownpmw.php"); in your config.php

For the translation itself we use Michael Fortin's PHP Markdown library.

Usage

The Markdown markup can be used by enclosing it in (:markdown:) and (:markdownend:):

 (:markdown:)

 Test
 ====

 (:markdownend:)

If you want to use it on many pages without PmWiki markup maybe you want to put these into your GroupHeader/GroupFooter.

Notes and Comments

See Also

Contributors

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on January 19, 2012, at 02:51 AM