A markdown editor and live preview directive