https://github.com/chronitis/ipyrmd is pretty useful, https://github.com/grst/ipymd even more so. It was inspired by https://github.com/IRkernel/IRkernel/issues/279#issuecomment-198405936