Closed m0rphism closed 7 years ago
We're currently using Pandoc, which has been ported to JavaScript with GHCJS before. However, that might be a very heavy dependency (around 2.2MB last I checked). Perhaps we should use a simpler JavaScript-based Markdown renderer? Open to suggestions :)
That seems a bit heavy indeed :)
If people are contributing from mobile devices, something smaller would probably be good.
Unfortunately, I have almost no experience with web development, but here are two projects I've found multiple suggestions for:
I haven't used them yet, so I can not comment on their performance or correctness. Hope that helps.
The recent commits add Markdown preview support.
Markdown preview button added to the file preview text area as well in 67734b86fae9a29df1df8fdc9160cd3bdb86d45c. I think this concludes your reqest?
I think it would be convenient to display a rendered version of the markdown content before a submission via the website is performed. This would make it easier to improve the layout and detect syntax errors in the layout.