Updated markup renderer api to remove explicit context