DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:markdownextra

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:markdownextra [2015-06-01 22:21] – [markdownextra plugin] 84.62.85.234plugin:markdownextra [2020-06-04 13:15] (current) – [MarkdownExtra Plugin] + tag markdown xrat
Line 1: Line 1:
-====== markdownextra plugin =====+====== MarkdownExtra Plugin =====
  
 ---- plugin ---- ---- plugin ----
-description: Parses PHP Markdown Extra blocks.+description: Parses PHP Markdown Extra blocks
 author     : Joonas Pulakka, Jiang Le author     : Joonas Pulakka, Jiang Le
 email      : joonas.pulakka@iki.fi, smartynaoki@gmail.com email      : joonas.pulakka@iki.fi, smartynaoki@gmail.com
 type       : syntax type       : syntax
-lastupdate : 2013-01-14 +lastupdate : 2016-02-02 
-compatible : 2012-10-13 "Adora Belle" and newer+compatible : 2012-10-13 "Adora Belle"
 depends    :  depends    : 
 conflicts  : conflicts  :
-similar    : markdown  +similar    : markdowku, markdown 
-tags       : formatting, markup_language+tags       : formatting, markdown, markup_language
 downloadurl: https://github.com/naokij/dokuwiki-plugin-markdownextra/tarball/master downloadurl: https://github.com/naokij/dokuwiki-plugin-markdownextra/tarball/master
 sourcerepo : https://github.com/naokij/dokuwiki-plugin-markdownextra/ sourcerepo : https://github.com/naokij/dokuwiki-plugin-markdownextra/
Line 19: Line 19:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
   * https://github.com/naokij/dokuwiki-plugin-markdownextra/tarball/master   * https://github.com/naokij/dokuwiki-plugin-markdownextra/tarball/master
Line 25: Line 25:
   * Or: https://bitbucket.org/jpulakka/markdownextra-plugin-for-dokuwiki/downloads/markdownextra.tgz    * Or: https://bitbucket.org/jpulakka/markdownextra-plugin-for-dokuwiki/downloads/markdownextra.tgz 
  
-Also available in GitHub and Bitbucket:+This plugin is available on both GitHub and Bitbucket:
  
   * https://github.com/naokij/dokuwiki-plugin-markdownextra   * https://github.com/naokij/dokuwiki-plugin-markdownextra
Line 67: Line 67:
 I love this markdown extra plugin, the best feature is ''.md'' suffix. And I love [[:plugin:tag|tag plugin]] too, but I can't use it with page with ''.md'' suffix as %%{{tag>tat1 tag2 tag3}}%% syntax will not work within ''<markdown></markdown>''. So I added this front matter feature. I love this markdown extra plugin, the best feature is ''.md'' suffix. And I love [[:plugin:tag|tag plugin]] too, but I can't use it with page with ''.md'' suffix as %%{{tag>tat1 tag2 tag3}}%% syntax will not work within ''<markdown></markdown>''. So I added this front matter feature.
  
-Front matter is a text block at the top of dokuwiki page with .md suffix. It begins and ends with '---'. Looks like this:+Front matter is a text block at the top of dokuwiki page with .md suffix. It begins and ends with '%%---%%'. Looks like this:
  
 <code> <code>
Line 82: Line 82:
  
   * 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 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 +  * <del>It would be nice to have GeShi support in between the markdown tags. Support for the ''<code language></code>'' tags 
-    * Updating the PHP Markdown lib to 1.2.7 will enable ''~~~ language'' [[http://michelf.ca/projects/php-markdown/extra/#fenced-code-blocks|code blocks]], but still have to figure out how to hook into GeShi or other syntax highlighter+    * Updating the PHP Markdown lib to 1.2.7 will enable ''~~~ language'' [[http://michelf.ca/projects/php-markdown/extra/#fenced-code-blocks|code blocks]], but still have to figure out how to hook into GeShi or other syntax highlighter</del> This is not merged in but can be accessed from here: https://github.com/ajwillia-ms/dokuwiki-plugin-markdownextra
   * Could the plugin parse files that have the ''.markdown'' extension too? This is becoming widely used.   * Could the plugin parse files that have the ''.markdown'' extension too? This is becoming widely used.
   * Can section editing be supported?   * Can section editing be supported?
Line 121: Line 121:
 <code>[![alt text](lib/exe/fetch.php?media=namespace:image.png)](lib/exe/detail.php?media=namespace:image.png)</code> <code>[![alt text](lib/exe/fetch.php?media=namespace:image.png)](lib/exe/detail.php?media=namespace:image.png)</code>
 > with URL rewriting mode 1, the shorter form is ''[![alt text](_media/namespace/image.png)](_detail/namespace/image.png)'' > with URL rewriting mode 1, the shorter form is ''[![alt text](_media/namespace/image.png)](_detail/namespace/image.png)''
 +
 +
 ==== Updating to latest PHP Markdown ==== ==== Updating to latest PHP Markdown ====
  
-The included version of [[http://michelf.ca/projects/php-markdown/|PHP Markdown]] in this plugin is 1.2.from Jan 2012The latest version is 1.2.7 from April 2013 and supports a few new features like classes and IDs for headers, images, links and fenced code blocks; multiple references to the same footnote; as well as bugfixes.+The included version of [[http://michelf.ca/projects/php-markdown/|PHP Markdown]] in this plugin is 1.2.from November 29, 2013This is the latest version and supports a few new features like classes and IDs for headers, images, links and fenced code blocks; multiple references to the same footnote; as well as bugfixes
 + 
 +If there are future releases, to update, just replace ''markdown.php'' in ''lib/plugins/markdownextra'' with the new version (though likely there will not be a new release). Make sure to use **classic version PHP Markdown Extra x.x.x**, not PHP Markdown Lib.
  
-To update, just replace ''markdown.php'' in ''lib/plugins/markdownextra'' with the [[http://michelf.ca/projects/php-markdown/classic/|"classic" version here]]. Make sure to use **classic version PHP Markdown Extra 1.2.7**, not PHP Markdown Lib. 
plugin/markdownextra.1433190113.txt.gz · Last modified: 2015-06-01 22:21 by 84.62.85.234

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki