Add md config to Editor config
Refactor content formatting into other files