lexes and parses markdown