[pmwiki-users] A (:comment:) markup enhancement
dominique.faure.1 at free.fr
Tue Mar 15 17:11:45 CST 2005
When developing code in [choose a programming language here], I'm used to
enable/disable prog parts with comments marks.
With PmWiki, I've got the (:comment ...:) directive, but its current
definition isn't supporting embedding of other directives into comments:
(:comment foo bar ...:) => (nothing) regular use works as expected
(:comment (:nl:) :) => <space>:) aka. closing mark of (:nl:) is closing
the comment directive
So, the current markup definition:
could be changed into:
or even into:
to handle multiline comments embedding disabled directives, with the
performance cost impact of having greedy regexp.
More information about the pmwiki-users