framework/utils/CMarkdownParser.php
public function getHighlightConfig($options)
	{
		$config = array('use_language'=>true);
		if( $this->getInlineOption('showLineNumbers', $options, false) )
			$config['numbers'] = HL_NUMBERS_LI;
		$config['tabsize'] = $this->getInlineOption('tabSize', $options, 4);
		return $config;
	}
public function getHighlightConfig($options)
	{
		$config = array('use_language'=>true);
		if( $this->getInlineOption('showLineNumbers', $options, false) )
			$config['numbers'] = HL_NUMBERS_LI;
		$config['tabsize'] = $this->getInlineOption('tabSize', $options, 4);
		return $config;
	}
public function getHighlightConfig ( $ options ) { $ config = array ( 'use_language' => true ) ; if ( $ this -> getInlineOption ( 'showLineNumbers' , $ options , false ) ) $ config [ 'numbers' ] = HL_NUMBERS_LI ; $ config [ 'tabsize' ] = $ this -> getInlineOption ( 'tabSize' , $ options , 4 ) ; return $ config ; }
Generates the config for the highlighter.
@param string $options user-entered options
@return array the highlighter config
Generates the config for the highlighter .