Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-16 Thread ABClf
Adopted. Thank you. PmWiki can do so many things in so many ways. Le sam. 16 oct. 2021 à 22:53, Petko Yotov <5...@5ko.fr> a écrit : > > Also this: >{{=$FullName}$:vedette} > > can be replaced with: >{=$:vedette} > > Petko > > On 16/10/2021 22:46, ABClf wrote: > > Well, thank you, you are

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-16 Thread Petko Yotov
Also this: {{=$FullName}$:vedette} can be replaced with: {=$:vedette} Petko On 16/10/2021 22:46, ABClf wrote: Well, thank you, you are right, [[my link| %h5% Title %% Some text]] is the way to go for me. It does allow pretty verbose command and is good for clickable list item

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-16 Thread ABClf
Well, thank you, you are right, [[my link| %h5% Title %% Some text]] is the way to go for me. It does allow pretty verbose command and is good for clickable list item [[#listemots1]] %apply=link class="class"%[[{=$FullName}|%h5%{{=$FullName}$:vedette}%% %rfloat badge%{=$:attestation}%%\\

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-16 Thread Petko Yotov
This is not a WikiLink markup so it doesn't convert pagenames to URLs. In the href="..." attribute you need to use the "page URL", not the "page name": (:blocklink href="{=$PageUrl}" :) Note that the current markup allows for the link href to include JavaScript code, e.g.:

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-15 Thread ABClf
Playing with last solution ; almost working for my needs, excepted the blocklink output which gives me unexpected result : my pagelist is on GroupA, printing out a list of blocklinks linking to : https://www.mysite.fr/GroupA/GroupB.Page1 where expected result is : http://www.mysite.fr/GroupB.Page1

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-15 Thread ABClf
Thank you Petko for your top notch answer ; I'm going to try the last one soon. Gilles. Le ven. 15 oct. 2021 à 18:13, Petko Yotov <5...@5ko.fr> a écrit : > > Indeed, this is not possible with core PmWiki markup. > > In the past, the HTML standards required links to be inline elements > which

Re: [pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-15 Thread Petko Yotov
Indeed, this is not possible with core PmWiki markup. In the past, the HTML standards required links to be inline elements which could not contain block-level elements like paragraphs or headings. So in PmWiki markup, you can have 2 links, one in the heading, the other in the text like

[pmwiki-users] Custom block link : short html code rather than strict text link

2021-10-15 Thread ABClf
Hello, Something I don't know how to do with pmwiki markup, if doable, is having an html output like that : Title Some text (in order to have the full block working as a link, for easy click in bootstrap-like list, and benefit of link's style). In other words, have some html