Open
Description
Package
filament/infolists
Package Version
v3.3.4
Laravel Version
v12.2.0
Livewire Version
v3.6.2
PHP Version
PHP 8.4.5
Problem description
Code highlighted with backticks (tested with singular ` and triple ```) isn't parsed as a code block and is displayed plainly including backticks.
Expected behavior
`code` should be displayed as code
and ```code``` displayed as code
Steps to reproduce
- Create a model with a string field "text" that has valid markdown, for example:
``` code block ``` Text with some `code` and *italics* in it 1. working 2. markdown 3. list
- Create a Resource with a view page that uses this schema:
public static function infolist(Filament\Infolists\Infolist $infolist): Infolist { return $infolist ->schema([ Filament\Infolists\Components\TextEntry::make('text') ->markdown() ]); }
- View this model through the infolist.
- See that the list and italics work, but backticks don't have any effect.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/pezeee001/filament_issue
Relevant log output
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo