Markdown support in quill
Discussed in https://github.com/slab/quill/discussions/4325
Originally posted by amanpreetSO July 18, 2024 hello Team, I have just integrated the quill into my angular project but this seems like i found a blocker. I am not able to find the way to parse the markdown to html and html to markdown in quill editor. I found this npm package https://www.npmjs.com/package/quilljs-markdown#markdown-for-quill-editor but this only works if you paste the markdown in editor but if markdown is already saved in your DB then its not rending in HTML and when I save the content then it again give the HTML not the markdown. I want to save the editor content in markdown in DB instead of HTML. How can I get it. I am using ngx-quill 23.0.2 version.
I am used like that. But Quill is not property laved after converted to markdown, due to quill is not actually make markdown, he just adding class to HTML, and while you convert it to markdown, be like:
So yeah, my solution wont help too. This is barely work, at least to show some text and image. Bold, anything else is not working and markdown cant show it on front-end.
Maybe if i connect your info with mine, we can make something.
https://www.npmjs.com/package/quilljs-markdown#markdown-for-quill-editor
Have you found any solution to render the existing text as a markdown? I have a similar issue to the one mentioned in the question. Markdown is only rendered when typing with this npm.
Have you found any solution to render the existing text as a markdown? I have a similar issue to the one mentioned in the question. Markdown is only rendered when typing with this npm.
I decided to switch to another library, wasnt able to make it out with deadlines