|
Cookbook /
SourceCodeHorizontalLinesSummary: Allow horizontal lines made of dashes ("-------") in PMWiki page source code
Version: 1.2
Prerequisites: none
Status: Working
Maintainer: GNUZoo
Downloads: SCHLines.phpΔ
Questions answered by this recipe
DescriptionThis allows you to use dashes to separate pieces of source code in a PMWiki Page. Currently PMWiki converts a series of 4 or more dashes into an Code that looks like this: [table border=1] [row] [!c]animal [!c]food [row] [c]cat [c]catfood [row] []dog []dogfood [row] [r]bird [r]birdfood [tableend] can look like this: --------------------- --------------------- [table border=1] --------------------- [row] [!c]animal [!c]food --------------------- [row] [c]cat [c]catfood --------------------- [row] []dog []dogfood --------------------- [row] [r]bird [r]birdfood --------------------- [tableend] --------------------- --------------------- InstallationCopy SCHLines.phpΔ to your cookbook directory In your config.php enter: include_once("cookbook/SCHLines.php");
or in your farmconfig.php enter: include_once(" $FarmD/cookbook/SCHLines.php");
NotesRelease NotesThis program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation http://www.fsf.org either version 2 of the License, or (at your option) any later version. Copyright 2007 by GNUZoo (guru@gnuzoo.org) Please donate to the author at url: http://gnuzoo.org/GNUZooPayPal
CommentsSee AlsoContributorsGNUZoo |