Replacement of deprecated buttonmarkup?

Replacement of deprecated buttonmarkup?

What is the solution to enhance links and buttons?
buttonmarkup is deprecated but i don't find any other method for them?