Re:GitPitch – Markdown Presentations for Devs on GitHub and ...
by andrewguenther on Thursday April 27, 2017 @01:19AM
(#14209342)
Please, please, don't mess with my page history. When I hit back in my browser, I don't want to go back a slide, I want to go back to the previous page.
[ Parent
| on HN ]
Re:GitPitch – Markdown Presentations for Devs on GitHub and ...
by gitpitch on Thursday April 27, 2017 @01:24AM
(#14209358)
Hi @andrewguenther individual slides appear in the history by default as it allows direct linking inside a slideshow. See Slide Direct Links in the Wiki:
https://github.com/gitpitch/gitpitch/wiki/Slide-Direct-Links
If you want to disable this feature you can disable it using your PITCHME.yaml config file, just add:
history: false
Re:GitPitch – Markdown Presentations for Devs on GitHub and ...
by redonkulus on Thursday April 27, 2017 @01:48AM
(#14209449)
You could use replaceState instead to change the URL but leave the history intact. https://developer.mozilla.org/en-US/docs/Web/API/History_API...
This avoids having to click back through each slide.