spatie/laravel-markdown
Render Markdown in Laravel with a Blade x-markdown component or a configurable MarkdownRenderer. Converts content to HTML with heading IDs, links, and syntax-highlighted code blocks, using options from your config and container resolution.
When starting a code block, you can mark lines as highlighted, added, deleted and focus
Certain options can be used when rendering code block.
```php{1,2}{3}
<?php
echo "We're highlighting line 1 and 2";
echo "And focusing line 3";
To know more about the feature, head over the docs of the underlying spatie/commonmark-shiki-highlighter package.
How can I help you explore Laravel packages today?