club-1/flarum-ext-french-typography

Enhanced typography for french writings, mainly around punctuation.

Fund package maintenance!
n-peugnet

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:flarum-extension

v1.1.0 2023-02-26 15:25 UTC

This package is auto-updated.

Last update: 2024-12-14 14:38:53 UTC


README

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