Mermaid recipe and tilde

Johan Bengtsson <[email protected]> Wed, 12 Mar 2025 15:27:48 +0000
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <GVYP280MB0366A70B0267DE22FA105481CED02@GVYP280MB0366.SWEP280.PROD.OUTLOOK.COM>
Hi,

We are using the mermaid recipe: https://www.pmwiki.org/wiki/Cookbook/MermaidJs

This creates one little problem, the code for signature in pmwiki is "~~~" and the same for invisible links in a Mermaid diagram.
So instead of an invisible link the authors signature gets thrown into the diagram.

I found a possible solution here: https://www.pmwiki.org/wiki/Cookbook/ROSPatterns#toc-3.3
The if conditional in the example doesn't seem to work, but:

$EnableAuthorSignature = 0;

works. This variable is missing from this list: https://www.pmwiki.org/wiki/PmWiki/Variables

Could there be some other solution that turning of the signatures?

Maybe a custom (:nosig:) directive?

-Johan Bengtsson