Closed J08nY closed 5 years ago
Changed it a bit, however I think using url_for
is not the right way since people might use a different endpoint for their third party scripts or a blueprint static folder like in my example, so I would leave crafting the path to the user.
This could be possibly expanded to also handle other custom js files as a third optional parameter, would make #13 possible easier.
This issue will be automatically closed due to being inactive for more than six months. Seeing that I haven't responded to your last comment, it is quite possible that I have dropped the ball on this issue and I apologize about that. If that is the case, do not take the closing of the issue personally as it is an automated process doing it, just reopen it and I'll get back to you.
Added optional argument to specify paths to alternate scripts Markdown.Sanitizer and Markdown.Converter.
If none are specified the cdnjs.cloudflare default is used.
Example usage such as: