tcd/md2pdf

anchors links not working on MAC or Chrome browser

gedw99 opened this issue · 1 comments

love this package.

The anchor links feature in the markdown-cheatsheet example is great but does not work.
I did not know that PDF's support the equivalent of HTML Anchors, but cool that PDF does support this.

Test matrix

On MAC, you get a dialog error when using the default built in PDF viewer.

Screenshot 2021-06-03 at 09 25 18

On Chrome Browser, you get no error, but its does not navigate.

Screenshot 2021-06-03 at 09 26 05

Reproduction:


print:
	converts markdown specs to pdf.

dep:
	# https://github.com/tcd/md2pdf
	brew tap tcd/taps
	brew install tcd/taps/md2pdf

run-mdtopdf:
	md2pdf version

	# local test
	md2pdf test.md

	# remote test
	# TOCS in mac standard PDF reader not working. 
	md2pdf remote https://raw.githubusercontent.com/tcd/md2pdf/master/example/markdown-cheatsheet.md markdown-cheatsheet.pdf