Markdown Editor Preview in V3?

Is there no longer a way to see a preview of the markdown using the Markdown Editor in V3? The docs still say "The markdown editor allows you to edit and preview markdown content, as well as upload images using drag and drop" but there is no preview button and don't see an option to enable it. Thanks.
5 Replies
awcodes
awcodes2y ago
I could be wrong, but i think there's an issue with the underlying dependency and alpine at the moment. #peek is a really good preview plugin though.
Patrick Boivin
@rubendn Here's a very quick example of markdown/preview thing I did the other day using Peek:
No description
rubendn
rubendnOP2y ago
Thanks @Patrick Boivin Do you mind sharing the code snippet to add the preview to the markdown editor?
Patrick Boivin
I've added a branch to my demo project: https://github.com/pboivin/filament-peek-demo/tree/wip/markdown You can try it locally:
git clone https://github.com/pboivin/filament-peek-demo --branch="wip/markdown"
git clone https://github.com/pboivin/filament-peek-demo --branch="wip/markdown"
Then follow the steps in the README, and check out the Page Resource.
rubendn
rubendnOP2y ago
@Patrick Boivin Thank you.

Did you find this page helpful?