DisplayHtml
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
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.