Download the PHP package spatie/laravel-markdown without Composer
On this page you can find all versions of the php package spatie/laravel-markdown. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spatie/laravel-markdown
More information about spatie/laravel-markdown
Files in spatie/laravel-markdown
Package laravel-markdown
Short Description A highly configurable markdown renderer and Blade component for Laravel
License MIT
Homepage https://github.com/spatie/laravel-markdown
Informations about the package laravel-markdown
A highly configurable markdown renderer and Blade component for Laravel
This package contains:
- a Blade component that can render markdown
- a highly configurable class that you can use to render markdown
Let's start with an example of the provided x-markdown
Blade component. This chunk of markdown...
`
... will be converted by to component to this chunk of HTML:
You can also programmatically render HTML.
Out of the box, the x-markdown
component and MarkdownRenderer
can:
- highlight code blocks correctly (via Shiki PHP) for 100+ languages, including PHP, JS, Blade, and many more.
- add anchor links to headings
- cache results to increase performance
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Documentation
You can find installation instructions and detailed instructions on how to use this package at the dedicated documentation site.
Related packages
If you only need the league/commonmark extension to highlight code, head over to spatie/commonmark-shiki-highlighter.
In case you don't need the markdown support, but want to highlight code directly, take a look at spatie/shiki-php.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Freek Van der Herten
- All Contributors
Alternatives
If you don't want to install and handle Shiki yourself, take a look at Torchlight, which can highlight your code with minimal setup.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-markdown with dependencies
illuminate/cache Version ^9.0|^10.0|^11.0
illuminate/contracts Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
illuminate/view Version ^9.0|^10.0|^11.0
league/commonmark Version ^2.4.2
spatie/commonmark-shiki-highlighter Version ^2.3
spatie/laravel-package-tools Version ^1.4.3