Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A plugin which helps on highlighting the white spaces in a html/text snippet.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 example.html
Octocat-spinner-32 jquery-1.4.2.min.js
Octocat-spinner-32 jquery.whitespaceHighlight.css
Octocat-spinner-32 jquery.whitespaceHighlight.js
README.md

Whitespace Highlighting JQuery

About

A jquery plugin which helps on highlighting whitespaces in a text/html snippet.

Highlights whitespace characters in one or more selected DOM element. By default it will highlight newlines, 2 or more sequential spaces and other individual whitespace chars, such as tab.

How to install

Copy the .js file in your javascript media folder. In the

of the html files you want to use it, provide the following tag: Copy the .css file in your css folder. Provide a tag to link to your css code:

How to run

Just select the DOM elements which will be "whitespace-highlighted" and run the 'whitespaceHighlight()' function: $('div').whitespaceHighlight();

Something went wrong with that request. Please try again.