Registry / utility / twig-markdown-extra

twig-markdown-extra

JSON →
library3.26.0phppackagistunverified

A Twig extension for Markdown rendering in templates.

composer require twig/markdown-extra
INSTALL
IMPORT
SIG · TWIG-MARKDOWN-EXTR
T
twig-markdown-extra
utilityphpv3.26.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MarkdownExtension
use Twig\Extra\Markdown\MarkdownExtension;

Add Markdown extension to Twig environment.

use Twig\Extra\Markdown\MarkdownExtension; $twig = new \Twig\Environment($loader); $twig->addExtension(new MarkdownExtension()); // In template: {{ '**bold**'|markdown }}
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.26.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
twig-markdown-extra — pip install twig-markdown-extra · libregistry