Styleguide
Styleguide copied to clipboard
Add default JS resources
Loads default scripts for all snippets. One use case is needing to load fonts through a service like Typekit where JS loading is the only option. Needed for loading font in general section (under font and typography). Note: quick and dirty solution. Could use refactoring.
Hi, thanks for this, really needed feature. In the meanwhile, is there any way to manually achieve it? Typekit script keep being removed, no matter if I place it in the head or before the closing body of template.html
@yumyo Take a look at https://github.com/devbridge/Styleguide/pull/150/commits/ecb9cf542efaf79d4684e00af9f32abbcb592a3f to see how I was able to do it. The changes are pretty simple to implement.
Thanks, works smoothly