Re: Mermaid recipe and tilde
Petko Yotov <[email protected]> Wed, 12 Mar 2025 18:02:57 +0100
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/03/2025 16:27, Johan Bengtsson wrote: > 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: I fixed the conditional in that page. > $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? If you use the markup: (:mermaid:) [@...@] To prevent ROS patterns like the signature from being processed inside [@escaped@] [=text=], add this to config.php: $EnableROSEscape = 1; Petko