better-typography.yaml 1.8 KB

12345678910111213
  1. enabled: true
  2. perLanguageSettings:
  3. - # You can add as many languages as defined as supported language in system.yaml
  4. language: default #
  5. useSmartQuotes: true # replace "foo" with “foo” or « foo »... Depends on the selected quoteStyle
  6. smartQuotesStyle: doubleCurled # Style to apply for quotes ; available options are 'doubleCurled' (“foo”), 'doubleCurledReversed' (”foo”) 'doubleLow9' („foo”), 'doubleLow9Reversed' („foo“), 'singleCurled' (‘foo’), 'singleCurledReversed' (’foo’), 'singleLow9' (‚foo’), 'singleLow9Reversed' (‚foo‘), 'doubleGuillemetsFrench' (« foo »), 'doubleGuillemets' («foo»), 'doubleGuillemetsReversed' (»foo«), 'singleGuillemets' (‹foo›), 'singleGuillemetsReversed' (›foo‹) 'cornerBrackets' (「foo」), 'whiteCornerBracket' (『foo』).
  7. smartQuotesStyleSecondary: singleCurled # same as above for smartQuotesStyle
  8. useSmartDashes: true # replace -- & --- to en & em dashes, depending on the selected dashStyle
  9. smartDashesStyle: international # 'international' or 'traditionalUS'
  10. applyHyphenations: false
  11. applyFrenchSpecific: false # apply specific french typographic rules such as unbreakable space before double punctuation (?, !, :, ;) and XVI<sup>e</sup> siècle
  12. useSmartDiacritics: false # replace "creme brulee" with "crème brûlée". Only available for de-DE and en-US languages
  13. smartDiacriticsLanguage: # de-DE or en-US