Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

league/commonmark - SymfonyLive San Francisco 2015 Lightning Talk

829 views

Published on

A brief overview of the league/commonmark project for PHP and why it's so awesome!

Published in: Software
  • Be the first to comment

  • Be the first to like this

league/commonmark - SymfonyLive San Francisco 2015 Lightning Talk

  1. 1. league/commonmark Well-written, super-configurable Markdown parser based on the CommonMark spec
  2. 2. WHAT IS COMMONMARK? A strongly specified, highly compatible Markdown standard. Written by people from Github, StackOverflow, Reddit, and others.
  3. 3. WHY IS IT NEEDED? *foo bar baz*
  4. 4. WHY IS IT NEEDED? *foo *bar* baz*
  5. 5. WHY IS IT NEEDED? *foo *bar* baz* <p><em>foo <em>bar</em> baz</em></p> *foo *bar* baz* <p><em>foo </em>bar<em> baz</em></p> *foo *bar* baz* <p><em>foo *bar</em> baz*</p>
  6. 6. FEATURES Supports the full CommonMark standard Object-oriented, well-abstracted Highly extensible Markdown parsed into AST AST can be manipulated before rendering to HTML Full UTF-8 compatibility
  7. 7. INTEGRATES WITH  Symfony  Twig  Sculpin  Laravel 4 & 5  Zend Framework 2  CakePHP 3  Build your own! https://github.com/thephpleague/commonmark#integrations
  8. 8. CUSTOMIZATION EXAMPLE
  9. 9. http://commonmark.org http://commonmark.thephpleague.com http://johnmacfarlane.net/babelmark2

×