jQuery Plugin For More Readable Paragraphs - Readable

jQuery Plugin For More Readable Paragraphs - Readable
File Size: 29.1 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Readable is a dead simple jQuery plugin to make your paragraphs more readable according to the '45-75' rule, which is widely regarded as a satisfactory length of line for a single-column webpage.

How to use it:

1. Include the required stylesheet readable.css in the head section of the html page.

<link rel="stylesheet" href="readable/readable.css">

2. Include the JavaScript file readable.js after jQuery JavaScript library, but before you close the body tag.

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="readable/readable.js"></script>

3. That's it. The plugin will take care of the rest. Readable also provides a vanilla JavaScript version, just include the JavaScript and CSS files on the webpage when needed.

<link rel="stylesheet" href="readable/readable.css">
<script src="readable/readable-vanilla.js"></script>

This awesome jQuery plugin is developed by mds. For more Advanced Usages, please check the demo page or visit the official website.