Transform Emacs markup on node level