You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
	
	
		
		
			
	
	
		
			
				
					
						
							|  |  |  | <?php
 | 
					
						
							|  |  |  | /**
 | 
					
						
							|  |  |  |  * @copyright Copyright (c) 2008 Yii Software LLC
 | 
					
						
							|  |  |  |  * @link http://www.yiiframework.com/
 | 
					
						
							|  |  |  |  * @license http://www.yiiframework.com/license/
 | 
					
						
							|  |  |  |  */
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace yii\helpers;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /**
 | 
					
						
							|  |  |  |  * Markdown provides an ability to transform markdown into HTML.
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * Basic usage is the following:
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * ```php
 | 
					
						
							|  |  |  |  * $myHtml = Markdown::process($myText);
 | 
					
						
							|  |  |  |  * ```
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * If you want to configure the parser:
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * ```php
 | 
					
						
							|  |  |  |  * $myHtml = Markdown::process($myText, array(
 | 
					
						
							|  |  |  |  *     'fn_id_prefix' => 'footnote_',
 | 
					
						
							|  |  |  |  * ));
 | 
					
						
							|  |  |  |  * ```
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * Note that in order to use this helper you need to install "michelf/php-markdown" Composer package.
 | 
					
						
							|  |  |  |  *
 | 
					
						
							|  |  |  |  * For more details please refer to [PHP Markdown library documentation](http://michelf.ca/projects/php-markdown/).
 | 
					
						
							|  |  |  |  * @author Alexander Makarov <sam@rmcreative.ru>
 | 
					
						
							|  |  |  |  * @since 2.0
 | 
					
						
							|  |  |  |  */
 | 
					
						
							|  |  |  | class Markdown extends BaseMarkdown
 | 
					
						
							|  |  |  | {
 | 
					
						
							|  |  |  | }
 |