DisplayHtml

Summary: Markup to display the html resulting of pmwiki syntax.
Version: 20150720
Prerequisites: >= PmWiki 2.2.58
Status: Stable
Maintainer: AntonyTemplier
Users: (view? / edit)
Discussion: DisplayHtml-Talk?

Questions answered by this recipe

How can I see the resulting html tags produced for pmwiki syntax on a page?

Description

Markup to display the html resulting of pmwiki syntax.DisplayHtml provide a simple markup to display on a page, the html tags produced by pmwiki code. It can be very useful when developing cookbook or skins. It 's an enhanced version of the (:markup:) markup.

Installation

  • download displayhtml.phpΔ to your cookbook directory.
  • add the following line to your config.php file:
    include_once($FarmD.'/cookbook/displayhtml.php');

Usage

Simply add html=1 to enable the output for html tags.

(:markup html=1:)

  Some pmwiki code ...

(:markupend:)

Of cource you can choose to stay with the standard behaviour.

Notes

You can add html=1 on your (:markup:) and desactivate/dactivate html output by commenting or not the line in the config.php.

Change log / Release notes

  • 20150720 : First public release

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

Comments

See discussion at DisplayHtml-Talk?

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.