folder = $folder; } if (is_array($config)) { $this->config = $config; } } function content_element($request = [], $body = null) { $f3 = \Base::instance(); $md = new \freaParsedown(); $md->deactivate_ol(); $new = ""; switch($request[0]) { case 'test': $new="seems to work"; break; case ';': $new=""; break; case 'path': $new="/".$this->folder; break; case 'space': $new=sprintf("
", $request[1] ); break; case 'span': $new=sprintf("%s", $request[1], $request[2] ? : implode("\n",$body) ); break; case 'small-text': if(count($body)) { $new=sprintf("