Markdown.php 820 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
 * $myHtml = Markdown::process($myText, 'extra'); // use markdown extra
19 20
 * ```
 *
21
 * You can configure multiple flavors using the [[$flavors]] property.
22
 *
23
 * For more details please refer to the [Markdown library documentation](https://github.com/cebe/markdown#readme).
Alexander Makarov committed
24
 *
25
 * @author Carsten Brandt <mail@cebe.cc>
26 27
 * @since 2.0
 */
28
class Markdown extends BaseMarkdown
29 30
{
}