ramnathv / slidifyLibraries

This R package contains all external libraries required by slidify
15 stars 54 forks source link

Add tocify as widget #18

Open ramnathv opened 11 years ago

ramnathv commented 11 years ago

config.yml

tocify:
  css: [jquery.tocify.css, bootstrap.min.css]
  jshead: [jquery.min.js, jquery-ui.min.js, jquery.tocify.min.js]

tocify.html

//Executes your code when the DOM is ready.  Acts the same as $(document).ready().
$(function() {
  $("#toc").tocify();
});

Include HTML

<div id='toc'></div>
ramnathv commented 11 years ago

Link to Tocify