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
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.
@rubendn Here's a very quick example of markdown/preview thing I did the other day using Peek:
Thanks @Patrick Boivin Do you mind sharing the code snippet to add the preview to the markdown editor?
I've added a branch to my demo project:
https://github.com/pboivin/filament-peek-demo/tree/wip/markdown
You can try it locally:
Then follow the steps in the README, and check out the Page Resource.
@Patrick Boivin Thank you.