Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anchors links not working on MAC or Chrome browser #2

Open
gedw99 opened this issue Jun 3, 2021 · 1 comment
Open

anchors links not working on MAC or Chrome browser #2

gedw99 opened this issue Jun 3, 2021 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Jun 3, 2021

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

@gedw99
Copy link
Author

gedw99 commented Jun 3, 2021

@gedw99 gedw99 changed the title cheat sheet tocs not quite working anchors links not working on MAC or Chrome browser Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant