Added basic autocompletion of markup. Seems to work pretty well.