parse link references as blocks to improve performance