Initial code to render text inside cursor markers