public function toHTML($text)
 {
     $text = $this->preTransformText($text);
     $text = MarkdownExtra::defaultTransform($text);
     $text = SmartyPants::defaultTransform($text);
     return $this->postTransformText($text);
 }
 public static function renderContent($content)
 {
     // check again because page config
     if (!empty(static::$config['process_content'])) {
         return SmartyPants::defaultTransform($content, static::$config['options']);
     }
     return $content;
 }