g4b0rdev/filament-markdown-editor-cheatsheet

Add markdown cheatsheet to the RichEditor form field in Filament
9
Install
composer require g4b0rdev/filament-markdown-editor-cheatsheet
Latest Version:1.0
PHP:^8.1
License:MIT
Last Updated:Mar 30, 2026
Links: GitHub  ·  Packagist
Maintainer: G4b0rDev

Filament Rich Editor Markdown Cheatsheet

The filament-markdown-editor-cheatsheet module provides a comprehensive cheatsheet for Markdown syntax, designed to be integrated with the Filament RichEditor and MarkdownEditor component. This module helps users quickly reference Markdown syntax and apply it.

Features

  • Comprehensive Markdown Syntax: Covers all basic and advanced Markdown syntax.
  • Easy Integration: Can be easily integrated with the Filament RichEditor & MarkdownEditor component.
  • User-Friendly: Provides a clean and easy-to-navigate interface for users.

Installation

To install the filament-markdown-editor-cheatsheet module, you can use the following command:

composer require g4b0rdev/filament-markdown-editor-cheatsheet

Usage

Integrating with Filament RichEditor & MarkdownEditor Component

To integrate the markdown cheatsheet with the Filament RichEditor / MarkdownEditor component, follow these steps:

use Filament\Forms\Components\RichEditor;

RichEditor::make('content')
    ->withCheatsheet()
    ->...,

// or

use Filament\Forms\Components\MarkdownEditor;

MarkdownEditor::make('content')
    ->withCheatsheet()
    ->...,

If you want to change the modal behavior, enable the slide over mode:

use Filament\Forms\Components\RichEditor;

RichEditor::make('content')
    ->withCheatsheet(slideOver: true)
    ->...,

// or

use Filament\Forms\Components\MarkdownEditor;

MarkdownEditor::make('content')
    ->withCheatsheet(slideOver: true)
    ->...,

Publishing and Customizing Translations

To publish the translation files for customization, use the following command:

php artisan vendor:publish --tag=filament-markdown-editor-cheatsheet-translations

This command will publish the translation files to the resources/lang/vendor/filament-markdown-editor-cheatsheet directory. You can then customize the translations as needed.

Example of Customizing Translations

  1. Open the published translation file, e.g., resources/lang/vendor/filament-markdown-editor-cheatsheet/en/cheatsheet.php.

  2. Modify the translation strings as needed

  3. Save the changes.

Versioning

This project follow the Semantic Versioning guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Related Packages

eightynine/filament-docs

Elegant documentation system for your Filament application with search, navigati...

5,274 12
relaticle/ink

Filament-native content publishing for blog, docs, and AI-citable articles. Head...

1,375 13
jeffersongoncalves/filament-documentation

A Filament plugin to add markdown-based documentation to your admin panel.

2,114 9
reg2005/laravel-email-database-log

A simple database logger for all outgoing emails sent by Laravel website.

955 2
beholdr/filament-trilist

Filament plugin that adds components for working with tree data: treeselect and...

30,216 11