#12: support markdown output
fix clear
improve cell handling
fix #13: use cells for output