[dokuwiki] plugin question: nesting?
- From: ytrewq1 <ytrewq1@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 26 Jul 2005 06:31:50 +0800
Is there something special I need to do (or not do) to get nesting of syntax
I defined in a plug-in to nest? It appears to work ok as long as I don't
nest. When testing a simple nest, I found the outer portion got interpreted
ok, but the inner portion appears untouched.
I have the type as 'container', and I've also got the following:
function accepts($mode) {
if (!count($this->allowedModes)) {
global $PARSER_MODES;
// XXX: so, which modes should be?
$this->allowedModes = array_merge (
// include only the $PARSER_MODES arrays for the syntax mode
// types allowed to occur within our own mode.
$PARSER_MODES['container'],
...
function connectTo($mode) {
// XXX: necessary?
// http://article.gmane.org/gmane.comp.web.wiki.dokuwiki.general/665
if ($mode == substr(get_class($this), 7)) {
return;
}
Thanks for any help.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: plugin question: nesting?
- From: Chris Smith
Other related posts:
- » [dokuwiki] plugin question: nesting?
- » [dokuwiki] Re: plugin question: nesting?
- » [dokuwiki] Re: plugin question: nesting?
- » [dokuwiki] Re: plugin question: nesting?
- » [dokuwiki] Re: plugin question: nesting?
- [dokuwiki] Re: plugin question: nesting?
- From: Chris Smith