Add markdown support and HTML preview tab.