Re: Include with double Hash
Petko Yotov <[email protected]> Sun, 11 May 2025 20:58:45 +0200
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Currently you can redefine the (:include...:) directive with your own functions, but they are big and this is too much work. Maybe we can change the TextSection function to recognize anchors like [[##here]] in addition to the normal ones [[#there]]. Let me think about it. Petko -- If you upgrade : https://www.pmwiki.org/Upgrades On 11/05/2025 18:51, Martin Cuno wrote: > Hello Petko and everyone, I use the PageTableOfContents recipe > extensively > (https://www.pmwiki.org/wiki/Cookbook/PageTableOfContents), especially > because it allows for visible anchors. These have the format > [[##Anchor]], i.e. TWO hash characters. (I hope this recipe will > remain functional for a LONG time, or that the function will be > incorporated into the core.) Now I would also like to use the > (:include:) directive in the form (:include PageName#from#to:). > However, this doesn't work with the ## anchors. Is it possible to > change this? Or is there a workaround? Best regards - Martin from > Siegen, Germany