github vs. commonmark).empty converter for custom extensions (e.g., mentions, emoji).league/commonmark) with Symfony-native integration, avoiding reinventing wheel for core functionality.extensions key provides a low-friction path to customize without forking.blog_post_converter with HeadingPermalinkExtension for SEO-friendly URLs).{{ content|commonmark('blog_post_converter') }}).<div class="code-block"> wrappers).{{ markdown|commonmark('converter_name') }}).league/commonmark directly or pair with a dedicated tool like knplabs/knp-snappy-bundle.extensions key, but some use cases may require a dedicated parser.symfony/security-csrf or htmlpurifier).league/commonmark directly or tools like spatie/laravel-markdown."This bundle lets us ship Markdown support in hours, not weeks*, by leveraging a Symfony-native wrapper for the industry-standard league/commonmark library. For example:
*"This is a drop-in solution for Markdown in Symfony that:
league/commonmark or wire Twig filters. Just add YAML:
aymdev_commonmark:
converters:
github_code:
type: github
extensions:
- League\CommonMark\Extension\TableOfContents\TableOfContentsExtension
github for code blocks, commonmark for blogs, or empty for custom extensions (e.g., custom syntax).AutolinkExtension, StrikethroughExtension).easymde for that).knp-snappy for PDFs if needed).
Action: Let’s prototype this for the blog redesign—it’ll let us A/B test Markdown vs. TinyMCE without big upfront work."**"This gives us superpowers for content:
.md files in Git) vs. scattered CMS entries.HeadingPermalinkExtension auto-generate clean URLs (e.g., /docs#installation).
Example: For our API docs, we can let engineers write in Markdown and render it with syntax highlighting—no more fighting with <pre> tags.
Ask: Should we prioritize this for the blog or the internal wiki first?"*How can I help you explore Laravel packages today?