Rendering Filament markdown text on custom page
I'm working on a custom page in Filament and I'm trying to render markdown text in a way that mimics the appearance of the "view" action for a resource. I have attempted using the Spatie Laravel Markdown package, but unfortunately, it hasn't provided me with the desired outcome. The markdown text doesn't display as expected. Could someone please assist me in understanding the best approach to render Filament markdown text on a custom page? I'm aiming for the same styling and formatting that can be seen in the default "view" action for resources. Thank you in advance for your help and insights.
3 Replies
What about using peak?
Haven't tried it before. Mind sharing the link?
Filament
Peek by Patrick Boivin - Plugins - Filament
A Filament plugin that adds a full-screen preview modal to your Edit pages. The modal can be used before saving to preview a modified record.