Re: Mermaid recipe and tilde
Johan Bengtsson <[email protected]> Thu, 13 Mar 2025 08:38:33 +0000
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <GVYP280MB036619938B75FE7D58B2254ACED32@GVYP280MB0366.SWEP280.PROD.OUTLOOK.COM> |
Yes, that seems to work. Thank you!:-) -Johan Bengtsson ________________________________________ Från: Petko Yotov <[email protected]> Skickat: den 12 mars 2025 18:02 Till: Johan Bengtsson Kopia: PmWiki Users Ämne: Re: [pmwiki-users] Mermaid recipe and tilde 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