decoding markdown by trial and error