<div dir="ltr"><div><div><div>I am new to pmwiki. What is a simple function for counting the number of comments used on a page and then displaying the result anywhere on the page?<br><br></div>For example, if I have markup like this, the function would display the result that there are three comments in the the markup.<br>
---------------------------------------------------------------------------------------<br>(:title PMWiki Programming Example 1:)<br>!Counting comments<br><br>!!The comments go here<br>There is a block of comments here that are not displayed. There are three comments.<br>
(:comment This is comment1:)<br>(:comment This is comment2:)<br>(:comment This is comment3:)<br><br>!!The results go here<br>The function should find three comments.<br>---------------------------------------------------------------------------------------<br>
<br></div>Thanks,<br></div>Mark, Seattle<br></div>