Disable mouse click to show another slide in rmarkdown slidy_presentation

女生的网名这么多〃 提交于 2019-12-04 19:36:09
rasnes

In my current version of slidy (rmarkdown 1.6) you can disable/enable mouse click advance by pressing key 'k', when viewing the presentation.

To change the default (on file open) behavior I had to change line 55 in [R package library]/rmarkdown/rmd/slidy/Slidy2/scripts/slidy.js to

mouse_click_enabled: false, // enables left click for next slide
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!