-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a custom extension #2
Comments
Hi @Eraldo |
On Sat, Jan 23, 2016 at 7:14 PM, Siyuan Zhang [email protected]
\o/, /============================================
|
Hi @Eraldo , since this plugin doesn't support rendering markdown(the preview feature comes with SimpleMDE), you need to render it with python-markdown or other implements, so technically it supports https://pythonhosted.org/Markdown/extensions/index.html#officially-supported-extensions if you use python-markdown to render the markdown content. Thanks |
I am working on that.. and intend to create a pull request to bundle it with django-simplemde. |
Nice work! :D
I was just about to create a field for simpleMDE.
I am glad you have already done so.
I am curious if you have already thought of ways to add custom extensions.
At the moment I do not see a configuration for that in the widget's render function.
I order for me to use your field 'as is' it would be nice to include some kind of hook for mdx extensions.
Or do you have any other ideas/approaches/advice? What do you think?
PS: The option of being able to also add css styles would also be great.. but hey - a step at a time. ;)
The text was updated successfully, but these errors were encountered: