vssue
vssue copied to clipboard
[Feature Request] Comment preview
What problem does the feature solve?
Previewing my comment before rendering. Job story: When creating my comment and using markdown I want to preview the result so that I have confidence it looks correct before submitting (esp as i don't know whether i can edit afterwards).
Both gittalk and gitment support previewing the comment. e.g. this is gitment
Proposed solution
Like gitment or gittalk. I can imagine one issue is that you support multiple backends and that may cause issues re previewing in that they may operate a bit differently. I have not yet looked deeply at the code so I don't have exact ideas how to implement or how gitment does it
Some platforms provide api for rendering markdown content. We can enable this feature for those platforms, so we don't have to import markdown renderer ourselves.
This feature has already been proposed in #80 , which is marked as stale yesterday. So I'll keep this issue open until it is supported
Maybe we can use a javascript Marked.js to do it.In that case,we won't need to consider what backend is used.