Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

scribe-plugin-curly-quotes

guardian10.2k1.0.1

Substitutes plain quotation marks with their semantic equivalents.

readme

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

changelog

1.0.1

  • The Lodash dependency has been replaced by a single module with the necessary functionality.

Thanks Erlend Hamnaberg for the contribution!

1.0.0

  • Fixes the plugin to work with Scribe post 1.4
  • Breaks up some of the code into modules to simplify unit testing
  • Adds an example page
  • Adds some unit tests

0.1.8

  • Removes dependency on Scribe Common
  • Bumped the test harness dependency