mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
Add automatic anchor symbols using anchorjs
This commit is contained in:
6
_includes/anchorjs.html
Normal file
6
_includes/anchorjs.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<script type="text/javascript">
|
||||
anchors.options = {
|
||||
placement: 'left',
|
||||
};
|
||||
anchors.add('article h2, article h3, article h4, article h5, article h6');
|
||||
</script>
|
||||
Reference in New Issue
Block a user