Skip to content

jaynetics/jekyll-diacritic-compressor

Repository files navigation

JekyllDiacriticCompressor

Gem Version Build Status

This is a sanitization plugin.

It turns characters with combining diacritical marks into their single-codepoint equivalent.

Example

The character "Ä" can be represented two ways:

  • by codepoint 196
  • by the combination of the codepoints 65 (A) and 776 ( ̈ )

This plugin ensures it is the first option wherever possible.

Installation

Add 'jekyll-diacritic-compressor' to the jekyll_plugins group in your Gemfile.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/janosch-x/jekyll-diacritic-compressor.

License

The gem is available as open source under the terms of the MIT License.

About

Jekyll plugin to substitute combining diacritical marks

Resources

License

Stars

Watchers

Forks

Packages

No packages published