SPATIE

  • Products
  • Open Source
  • Courses
  • Web Development
VacanciesAboutBlogDocsGuidelinesMerch ↗ Log in

Docs Laravel-markdown Resources and alternatives

Other versions for crawler v1
    • Introduction
    • Support us
    • Requirements
    • Installation & setup
    • Questions and issues
    • Changelog
    • Resources and alternatives
    • About us

    Usage in Blade

    • General usage
    • Configuring code highlighting
    • Rendering anchors
    • Passing options to Commonmark

    Rendering markdown

    • General usage
    • Configuring code highlighting
    • Rendering anchors
    • Passing options to Commonmark

    Advanced usage

    • Highlighting lines
    • Caching results
    • Customizing the rendering process

Resources and alternatives

Under the hood this package makes uses of the excellent league/commonmark package.

If you don't want to install and handle all the dependencies of this package yourself, take a look at Torchlight, which can highlight your code with minimal setup.

Changelog
About us
Help us improve this page
Testing Laravel

Learn how to write quality tests in Pest and PHPUnit in our video course

Help us improve this page
  • Products
  • Open Source
  • Courses
  • Web Development
VacanciesAboutBlogDocsGuidelinesMerch ↗ Log in

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Our office is closed now, email us instead

    Enter a search term to find results in the documentation.