Support 'title' option to markText

Issue #1654