markdown helper allow nil