faq.php 806 B

1234567891011121314151617181920
  1. <?php if (!defined('PmWiki')) exit();
  2. /* Copyright 2002-2004 Patrick R. Michaud (pmichaud@pobox.com)
  3. This file is part of PmWiki; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published
  5. by the Free Software Foundation; either version 2 of the License, or
  6. (at your option) any later version. See pmwiki.php for full details.
  7. This file adds the 'Q:' and 'A:' markup to PmWiki. A line beginning
  8. with 'Q:' is rendered in boldface, and a line beginning with 'A:'
  9. is converted to a first-level indent.
  10. This file is automatically included by stdconfig.php unless
  11. disabled by
  12. $EnableQAMarkup = 0;
  13. in config.php.
  14. */
  15. $DoubleBrackets['/^Q:(.*)$/'] = '<b>$1</b>';
  16. $DoubleBrackets['/^A:/'] = ': :';
  17. ?>