Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

guardian/scribe-plugin-curly-quotes

Repository files navigation

scribe-plugin-curly-quotes Build Status

Substitutes plain quotation marks with their semantic equivalents.

Installation

bower install scribe-plugin-curly-quotes

Alternatively, you can access the distribution files through GitHub releases.

Usage Example

scribe-plugin-curly-quotes is an AMD module:

require(['scribe', 'scribe-plugin-curly-quotes'], function (Scribe, scribePluginCurlyQuotes) {
  var scribeElement = document.querySelector('.scribe');
  // Create an instance of Scribe
  var scribe = new Scribe(scribeElement);

  scribe.use(scribePluginCurlyQuotes());
});

Developing and testing

Run ./setup.sh to download dependencies

Run ./run-tests.sh to run the tests