Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
We didn't develop Underline.js, but here's a quick & dirty explanation on how we got this to work.
Include Underline.js in your project. The code is: https://github.com/CloudflareApps/SmartUnderline/blob/master/js/smart-underline.js
We minified that in our project, but whatever.
Once that was included we just initialize it like so:
That turns it on with no options. There are plenty, but we liked it just the way it is.
Hope that helps. Let us know if you need some more direction and we'll put something together and post a link here to a more in-depth instructional article.
@oyeanuj, Totally got that wrong. UnderlineJS is self-initializing. What we posted above is how to initialize SmartUnderline--which is what we chose to use in our project. Oops!