Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

31 rinda
820B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\helpers;
  8. /**
  9. * Markdown provides an ability to transform markdown into HTML.
  10. *
  11. * Basic usage is the following:
  12. *
  13. * ```php
  14. * $myHtml = Markdown::process($myText); // use original markdown flavor
  15. * $myHtml = Markdown::process($myText, 'gfm'); // use github flavored markdown
  16. * $myHtml = Markdown::process($myText, 'extra'); // use markdown extra
  17. * ```
  18. *
  19. * You can configure multiple flavors using the [[$flavors]] property.
  20. *
  21. * For more details please refer to the [Markdown library documentation](https://github.com/cebe/markdown#readme).
  22. *
  23. * @author Carsten Brandt <mail@cebe.cc>
  24. * @since 2.0
  25. */
  26. class Markdown extends BaseMarkdown
  27. {
  28. }