markdown controller backend finished