I followed the instructions and uncommented the line in my _config.yml that I think enabled anchorJS...
anchor_js_targets: [h1, h2, h3, h4, h5, h6]
When I generate my site, I do not see the anchor links after my headers.
Looking at the generated source, I see
<script src="/source-code/assets/js/vendor/anchor.min.js"></script>
but I never see a call to anchors.add()
I might be misunderstanding how this is used. Do you have a link to a site using this feature so I can figure out what I'm doing wrong?
I followed the instructions and uncommented the line in my _config.yml that I think enabled anchorJS...
When I generate my site, I do not see the anchor links after my headers.
Looking at the generated source, I see
but I never see a call to
anchors.add()I might be misunderstanding how this is used. Do you have a link to a site using this feature so I can figure out what I'm doing wrong?