MarkdownExtra.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. #
  3. # Markdown Extra - A text-to-HTML conversion tool for web writers
  4. #
  5. # PHP Markdown Extra
  6. # Copyright (c) 2004-2014 Michel Fortin
  7. # <http://michelf.com/projects/php-markdown/>
  8. #
  9. # Original Markdown
  10. # Copyright (c) 2004-2006 John Gruber
  11. # <http://daringfireball.net/projects/markdown/>
  12. #
  13. namespace Michelf;
  14. # Just force Michelf/Markdown.php to load. This is needed to load
  15. # the temporary implementation class. See below for details.
  16. \Michelf\Markdown::MARKDOWNLIB_VERSION;
  17. #
  18. # Markdown Extra Parser Class
  19. #
  20. # Note: Currently the implementation resides in the temporary class
  21. # \Michelf\MarkdownExtra_TmpImpl (in the same file as \Michelf\Markdown).
  22. # This makes it easier to propagate the changes between the three different
  23. # packaging styles of PHP Markdown. Once this issue is resolved, the
  24. # _MarkdownExtra_TmpImpl will disappear and this one will contain the code.
  25. #
  26. class MarkdownExtra extends \Michelf\_MarkdownExtra_TmpImpl {
  27. ### Parser Implementation ###
  28. # Temporarily, the implemenation is in the _MarkdownExtra_TmpImpl class.
  29. # See note above.
  30. }