Moved markdown parsing to a separate header