If I am not mistaken, the preview button of django-machina sends markdown code to the backend for rendering then display it in the frontend. Can the preview be generated on the client side using something like marked.js? There can be different flavors of markdown so the frontend and backend rendering might differ a bit, but overall client side rendering would be faster for the users with less traffic to the server, right?
If I am not mistaken, the preview button of
django-machina
sends markdown code to the backend for rendering then display it in the frontend. Can the preview be generated on the client side using something likemarked.js
? There can be different flavors of markdown so the frontend and backend rendering might differ a bit, but overall client side rendering would be faster for the users with less traffic to the server, right?