add function: post new entry using Markdown or HTML