Skip to content

0.1.0

Latest

Choose a tag to compare

@dereuromark dereuromark released this 11 Apr 18:26
· 2 commits to master since this release
b2bbc03

First public release of php-collective/laravel-djot — Laravel integration for the php-collective/djot markup parser, mirroring the feature set of the Symfony bundle.

Features

  • DjotConverter / DjotConverterInterface with safe mode, extensions and optional Laravel cache integration
  • DjotManager for working with multiple named converter profiles (default, user_content, docs, ...)
  • LaravelDjotServiceProvider with auto-discovery and publishable config/djot.php
  • Djot facade (Djot::toHtml, ::toHtmlRaw, ::toText, ::converter)
  • Blade directives: @djot, @djotRaw, @djotText
  • ValidDjot validation rule (Illuminate ValidationRule), with optional strict mode
  • ExtensionFactory covering all 17 djot-php extensions (autolink, admonition, code_group, default_attributes, external_links, frontmatter, heading_level_shift, heading_permalinks, heading_reference, inline_footnotes, mentions, mermaid, semantic_span, smart_quotes, table_of_contents, tabs, wikilinks)
  • Support for Laravel 11.x, 12.x and 13.x (PHP 8.2+)

Demo

A full-featured demo app is available at php-collective/laravel-djot-demo.

Full Changelog: https://github.com/php-collective/laravel-djot/commits/0.1.0