Markup converter in pure Python
