rewrote markdown code to avoid buggy output on github