Convert markdown style links to annotations

Also updated .npmignore so pdfkit works as dependency in package.json