Replaced link matching regex and fixed multiline titles [Closes #11]