markdown helper js