Changing markdown content regexp to return just the first occurrence