Add implementation of markdown formatter