<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">I’d like to create custom markup to display a link followed by a page text variable of the target page, with the PTV sized slightly smaller. The markup would look like this: [[target|$]] and it would generate this: [[MyPage|My page title]] [-{MyPage$:MyPTV}-]</div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">The PTVLinkText recipe comes closest to doing this, but I haven’t been able to tweek that to produce what I want. In particular, I don’t know how to attach text after the link in the returned value.</div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""># This doesn’t work</div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class=""> Markup_e('[[|$’, '<[[|',</div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">   "/(?>\\[<a href="smb://[([^|//]]+))//|//s*//$//s*]" class="">\\[([^|\\]]+))\\|\\s*\\$\\s*]</a>]/“, </div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">   "Keep(MakeLink(\$pagename, \$m[1],</div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">     PageVar(\$pagename, '\$Title')</div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">     ),’L’)”.’[-PageTextVar($pagename, MyPTV)-]’.); </div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; color: rgb(69, 69, 69);" class="">Suggestions? </div><div class=""><br class=""></div><div class="">Randy</div></body></html>