When using some custom storage backends for django, like django-storages, the response returned by the url() method of "static" may return without the slash at the end of the string.
This simple change solves this problem, as it includes a slash after the call to "static" in markdown.html.
Therefore, it is not necessary to make any other changes to editormd.js to ensure compatibility.
When using some custom storage backends for django, like django-storages, the response returned by the url() method of "static" may return without the slash at the end of the string.
This happens for example with Azure storage, which does not accept files that end with "." or "/". https://django-storages.readthedocs.io/en/latest/backends/azure.html
This simple change solves this problem, as it includes a slash after the call to "static" in markdown.html. Therefore, it is not necessary to make any other changes to editormd.js to ensure compatibility.