'two links in one line' doctest into _extract_from_markdown method