> BTW, did you try the markup I suggested? Would it work for your needs?
Here is the solution I decided to use:
Markup('editmenu', 'inline',
'/\\[\\[action:editmenu(.*?)\\]\\]/',
'[[{Site.SideBar}?action=edit$1]]');
So code like this now works.
[[action:editmenu | Edit Menu]]
Thanks for all the help everyone.