For a while, I’ve wondered how to be able to leave comments in chunks, document content, templates etc, without resorting to <!-- this --> as I’m not crazy about polluting the html output with development notes especially on a production site.
Today I did the following to hide or comment-out a Wayfinder call.
I know there are several ways to hide stuff, but I like this approach because it reuses my php and javascript habits. My question is, are there any drawbacks to that technique, other than a little document parser overhead looking for a snippet that’s not there?
I’d also do stuff like this:
[[//@todo: fix some problem here]]
I know it will work but I’m just wondering if this is a *bad idea* in anyone’s opinion.
Is the answer the same for 0.9.6 and Revolution?
Cheers