Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Can anchors plugin options be customised?

Started by Muut Archive 11 years ago · 3 replies · 295 views
11 years ago

AnchorJS provides various options to customise the exact way it works.

I know that the .yaml files can be overridden in /user/config/plugins/anchors, but is there anything similar for .js or .css customisation, or does it require forking the plugin and editing it directly?

11 years ago

I've not really implemented many of the features of the anchorJS script. In fact when I created the plugin originally, the JS didn't have much in the way of customization. I think this plugin is due for some updates of the JS script itself, and also some integration of the options.

Would be great if you forked it, added the functionality, and then issue a PR back to the main repo, so we can get those updates added in? Thanks!

11 years ago

Well, as I didn't hear back from you, I updated the plugin myself.

11 years ago

Sorry for the slow reply. I didn't have chance to take another look into this in the meantime. Since you already did it I'll just give it a try.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1332 9 years ago
Archive · by Muut Archive, 9 years ago
2 923 9 years ago
Archive · by Muut Archive, 9 years ago
2 4053 9 years ago
Archive · by Muut Archive, 9 years ago
1 2931 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago