markdownextra plugin

Compatible with DokuWiki

2009-12-25 “Lemming” and newer

plugin Parses PHP Markdown Extra blocks.

Last updated on
2010-11-06
Provides
Syntax

Similar to markdown

Tagged with formatting, markup_language

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Usage

If the page name ends with .md suffix, it gets automatically parsed using PHP Markdown Extra. To use that markup in other pages, the content must be embedded in a markdown block. For example:

<markdown>
Header 1
========

~~~
some code
~~~

Paragraph

Header 2
--------

- A
- simple
- list

1. And
2. numbered
3. list

Quite intuitive? *emphasis*, **strong**, etc.
</markdown>

For syntax, refer to http://michelf.com/projects/php-markdown/extra/

Discussion

Feature requests:

  • It would be very good improvement to render standard wiki links properly to represent them clearly and to work with link plugins.
  • It would be nice to have GeShi support in between the markdown tags. Support for the <code language></code> tags
  • an option to make it work without the “markdown” container tags
    • This is implemented now (2010-11-06); just name the page so that it ends with .md suffix.

Bugs:

  • it seems backlinks and headers parsers dont work with this plugins — no toc, no “page-name-from-first-header”, no backlinks and no orphan pages

Support:

  • How do I put links in .md pages to other sections of the wiki?
    • Like this: [this is a link](?id=anotherpage.md)
plugin/markdownextra.txt · Last modified: 2012/01/11 15:10 by 79.134.123.82
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate