5.1.3 • Published 7 months ago
richtypo-rules-fr v5.1.3
Richtypo French typography rules
The French typography rules for Richtypo.
Installation
npm install --save richtypo-rules-fr
The rules
The rules of this package include the spaces
, abbr
, emdash
, amp
, ellipsis
rules that are directly imported from the richtypo-rules-common
package.
For better readability, the non-breaking space symbol
is replaced with two underscores __
and the narrow non-breaking space symbol  
with a single underscore ``_
Rule | Description | Input | Output |
---|---|---|---|
quotes | transforms straight double quotes into double angle quotes | texte entre "guillemets" | texte entre «guillemets» |
numberOrdinals | put ordinals within <sup> tags | 1er 2nd 3èmes | <sup>er</sup> 2<sup>nd</sup> 3<sup>èmes |
numberSeparators | adds thousands separators to large numbers | 10000,123 | 10__000,123 |
punctuationMarks | adds narrow non-breaking space before or after punctuation as it is the rule in French typography | Ceci ? est: un «texte» avec de la ponctuation! | Ceci_? est_: un «_texte_» avec de la ponctuation_! |
recommended | runs all rules except numberOrdinals and numberSeparators |
5.1.3
7 months ago
5.1.2
7 months ago
5.1.1
7 months ago
5.1.0
7 months ago
5.0.1
7 months ago
5.0.0
7 months ago
4.0.21
8 months ago
4.0.20
8 months ago
4.0.19
1 year ago
4.0.18
1 year ago
4.0.16
1 year ago
4.0.15
1 year ago
4.0.17
1 year ago
4.0.14
2 years ago
4.0.12
2 years ago
4.0.13
2 years ago
4.0.10
2 years ago
4.0.11
2 years ago
4.0.7
3 years ago
4.0.6
3 years ago
4.0.9
3 years ago
4.0.8
3 years ago
4.0.5
3 years ago
4.0.3
4 years ago
4.0.2
5 years ago
4.0.1
5 years ago
4.0.0
5 years ago
1.0.0-beta.0
5 years ago