1/* global anchors */ 2document.addEventListener('DOMContentLoaded', () => { 3 anchors.options = { 4 placement: 'right', 5 icon: '#', 6 class: 'anchor-cs', 7 visible: "hover" 8 }; 9 anchors 10 .add(".outline-heading") 11 .add("main section > h2") 12 .add("main section > h3") 13 .add("main section > h4") 14 .add("main section > h5") 15 .add("main section > h6") 16}); 17