Skip to content

Enhanced typography for french writings, mainly around punctuation.

License

Notifications You must be signed in to change notification settings

club-1/flarum-ext-french-typography

Repository files navigation

CLUB1 French Typography

License Latest Stable Version Total Downloads

A very simple Flarum extension. Enhanced typography for french writings, mainly around punctuation.

Features

  • Convert spaces before a double punctuation mark (?, !, :, ;) to a non-breaking space ( ).
  • Enable a custom version of TextFormatter's FancyPants plugin with the following differences:
    • Double quotes are replaced with « guillemets », separated from the text by non-breaking spaces.
    • Disable Guillemets from upstream passes.

Installation

Install with composer:

composer require club-1/flarum-ext-french-typography

Recommendation

This extension alone does not apply the formatting changes to previously posted comments. I you want to reparse all the comments posts of the database it is recommended to install and enable the club-1/flarum-ext-chore-commands extension and use its chore:reparse command.

Updating

composer update club-1/flarum-ext-french-typography
php flarum cache:clear

Links

About

Enhanced typography for french writings, mainly around punctuation.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published