Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 940 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 940 Bytes

Fragmentioner

UI for generating the fragmention link to some selected text.

Try it out here fragmentioner demo.

Note

Fragmentioner only generates the UI for the link. To make fragmentioned links work on your page you will need to use fragmention.js.

Basic Usage

  • Add the styles from fragmentioner.css into your stylesheet.
  • Add fragmentioner.js in a script tag and you are good to go.

Advanced Usage

  • Use any HTML you'd like for the UI by changing the variable BUTTON_HTML in the javascript. Remember to update the CSS too if you change the id.
  • You can of course change any style in your own CSS for the UI.

Go forth

Now use this yourself and give feedback.