Skip to content

Use JoliTypo for Microtypography as Output Filter in MODX.

Notifications You must be signed in to change notification settings

jenswittmann/JoliTypo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JoliTypo for MODX

Use JoliTypo for Microtypography as Output Filter in MODX.

Download Extra via Package Installer: https://extras.modx.com/package/jolitypo
Official JoliTypo Documentation: https://github.com/jolicode/JoliTypo

System Settings

key value default
jolitypo.customReplaces Add custom replaces before JoliTypo runs. Usefull for custom replaces like z. B. to z.B.. One replace per line. See example below.
jolitypo.locale Local Key to use for Microtypography. See Documentation. de_DE
jolitypo.standardFixers Set Fixers for JoliTypo. See Documentation Ellipsis Dimension Dash SmartQuotes NoSpaceBeforeComma Trademark

Example for jolitypo.customReplaces

e. V.==e.V.
z. B.==z.B.
®==®
&reg;==<sup>&reg;</sup>
&sect; ==&sect;&nbsp;
§ ==&sect;&nbsp;

⚠️ Attention

Don't use the Fixer CurlyQuote (Smart Quote), because the `-letter can break the MODX Placeholder Syntax.