kirby/kirby/component/smartypants.php
/**
   * Returns the default options for 
   * the smartypants parser
   * 
   * @return array
   */
Returns the default options for
the smartypants parser

@return array
Returns the default options for the smartypants parser @return array
public function defaults() {
    return [
      'smartypants'                   => false,
      'smartypants.attr'              => 1,
      'smartypants.doublequote.open'  => '&#8220;',
      'smartypants.doublequote.close' => '&#8221;',
      'smartypants.space.emdash'      => ' ',
      'smartypants.space.endash'      => ' ',
      'smartypants.space.colon'       => '&#160;',
      'smartypants.space.semicolon'   => '&#160;',
      'smartypants.space.marks'       => '&#160;',
      'smartypants.space.frenchquote' => '&#160;',
      'smartypants.space.thousand'    => '&#160;',
      'smartypants.space.unit'        => '&#160;',
      'smartypants.skip'              => 'pre|code|kbd|script|style|math',    
    ];
  }
public function defaults ( ) { return [ 'smartypants' => false , 'smartypants.attr' => 1 , 'smartypants.doublequote.open' => '&#8220;' , 'smartypants.doublequote.close' => '&#8221;' , 'smartypants.space.emdash' => ' ' , 'smartypants.space.endash' => ' ' , 'smartypants.space.colon' => '&#160;' , 'smartypants.space.semicolon' => '&#160;' , 'smartypants.space.marks' => '&#160;' , 'smartypants.space.frenchquote' => '&#160;' , 'smartypants.space.thousand' => '&#160;' , 'smartypants.space.unit' => '&#160;' , 'smartypants.skip' => 'pre|code|kbd|script|style|math' , ] ; }
Returns the default options for
 the smartypants parser
Returns the default options for the smartypants parser