PageActions as buttons

I played around a bit in Bootstrap.PageActions with converting the links to buttons.
I think the custom button-markup is cumbersome, compared to "just" using the apply method.

Which I haven't tried.

But things look pretty good!

(:Summary:Contains the '[[PmWiki/AvailableActions|action]]' links (like Browse, Edit, History, etc.), placed at the top of the page, see [[PmWiki/site page actions]]:)
(:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :)
* %item rel=nofollow class=browse    accesskey='$[ak_view]'%      (:button link="{*$PageName}?action=view" text="$[View]" class="btn btn-mini" :)
* %item rel=nofollow class=edit      accesskey='$[ak_edit]'%      (:button link="{*$PageName}?action=edit" text="$[Edit]" class="btn btn-mini" :)
* %item rel=nofollow class=diff      accesskey='$[ak_history]'%  (:button link="{*$PageName}?action=diff" text="$[History]" class="btn btn-mini" :)
(:if auth upload:)
* %item rel=nofollow class=upload    accesskey='$[ak_attach]'% (:button link="{*$PageName}?action=upload" text="$[Attach]" class="btn btn-mini" :)
* %item rel=nofollow class=print     accesskey='$[ak_print]'% (:button link="{*$PageName}?action=print" text="$[Print]" class="btn btn-mini" :)
* %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% (:button link="{*$Name}?action=search&q=link={*$FullName}" text="$[Backlinks]" class="btn btn-mini" :)
(:if enabled AuthPw:)
* %item rel=nofollow class=logout    accesskey="$[ak_logout]"%   (:button link="{*$PageName}?action=logout" text="$[Logout]" class="btn btn-mini btn-info" :)

Inversion of markup

I would prefer if the (:markup:) markup would present the rendered result FIRST. Or do some optionally.