appflowy-editor
appflowy-editor copied to clipboard
Is there an available/recommended way to present read-only views of markdown?
I have already integrated the editor into a project to allow markdown entry of text, but I am wondering if there exist in the package methods or conventions for using the same renderer the editor uses to then display the same visual output when viewing in a read-only state? Is this a lib method one can call with a rich text widget as a target, or some other thing I can/should do when rendering views with markdown text?
Hi, @csuwildcat. Is this what you want?
If you're referring to the left panel being a read only output, yeah, basically, just looking for the best way to use the lib to simply render a markdown text to a static element, not editable or modifiable, just the view output of the render.
Is there either a utility method or config value for instances of the editor to take in a source and just render the markdown without making it an active editor?
I see here you replied to someone alluding to an editable feature that can been flagged off: https://github.com/AppFlowy-IO/appflowy-editor/issues/814#issuecomment-2535924519
How does this work?