Browse code

Add AnchorJS

Robert Cranston authored on 28/09/2019 19:26:42
Showing 1 changed files

... ...
@@ -108,6 +108,7 @@ $endfor$
108 108
 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
109 109
 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
110 110
 <script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.8.0/tocbot.min.js" integrity="sha256-dJs8/kT10avd5bf3rkLb1bUpUyLjcZA7ydzzU0vyhfM=" crossorigin="anonymous"></script>
111
+<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.0/anchor.min.js" integrity="sha256-m1eTvwEHwmsw4+XKF7BshClVJEPwTVycveNl0CS0Mkk=" crossorigin="anonymous"></script>
111 112
 <script>
112 113
   $$('table').addClass("table");
113 114
 </script>
... ...
@@ -117,6 +118,9 @@ $endfor$
117 118
     scrollSmooth: false,
118 119
   });
119 120
 </script>
121
+<script>
122
+  anchors.add();
123
+</script>
120 124
 
121 125
 </body>
122 126
 </html>