Markdown.php 748 Bytes
Newer Older
1 2 3
<?php
/**
 * @link http://www.yiiframework.com/
Carsten Brandt committed
4
 * @copyright Copyright (c) 2008 Yii Software LLC
5 6 7 8 9 10 11 12 13 14 15
 * @license http://www.yiiframework.com/license/
 */

namespace yii\helpers;

/**
 * Markdown provides an ability to transform markdown into HTML.
 *
 * Basic usage is the following:
 *
 * ```php
16 17
 * $myHtml = Markdown::process($myText); // use original markdown flavor
 * $myHtml = Markdown::process($myText, 'gfm'); // use github flavored markdown
18 19
 * ```
 *
20
 * You can configure multiple flavors using the [[$flavors]] property.
21
 *
22
 * For more details please refer to the [Markdown library documentation](https://github.com/cebe/markdown#readme).
Alexander Makarov committed
23
 *
24
 * @author Carsten Brandt <mail@cebe.cc>
25 26
 * @since 2.0
 */
27
class Markdown extends BaseMarkdown
28 29
{
}