Set smartypants options in config.php

#1

Hi,

I tried to set smartypant options for french like I did in Kirby 2, with the new kirby 3 syntax, but no luck.

<?php

return [
    'debug' => true,
    'smartypants' => true,
    'smartypants.attr' => 3,
    'smartypants.doublequote.open' => '« ',
    'smartypants.doublequote.close' => ' »',
    'smartypants.space.emdash' => ' ',
    'smartypants.space.endash' => ' ',
    'smartypants.space.colon' => ' ',
    'smartypants.space.semicolon' => ' ',
    'smartypants.space.marks' => ' ',
    'smartypants.space.frenchquote' => ' ',
    'smartypants.space.thousand' => '',
    'smartypants.space.unit' => ' ',
];

nor

<?php

return [
    'debug' => true,
    'smartypants' => [
      'smartypants' => true,
      'smartypants.attr' => 3,
      'smartypants.doublequote.open' => '« ',
      'smartypants.doublequote.close' => ' »',
      'smartypants.space.emdash' => ' ',
      'smartypants.space.endash' => ' ',
      'smartypants.space.colon' => ' ',
      'smartypants.space.semicolon' => ' ',
      'smartypants.space.marks' => ' ',
      'smartypants.space.frenchquote' => ' ',
      'smartypants.space.thousand' => '',
      'smartypants.space.unit' => ' ',
    ]
];

Any idea?

Thank you.

0 Likes

#2
0 Likes

#3
0 Likes