prepare markdown