Extensions¶
Python Markdown¶
Regular extensions from Python Markdown for extra markdown features, can be used with markymark.
MARKYMARK_EXTENSIONS = [
'..',
'markdown.extensions.codehilite',
'markdown.extensions.fenced_code',
'markdown.extensions.tables',
]
Django-anylink¶
An extension for django-anylink a generic linking module for Django.
The following needs to be added to the settings:
MARKYMARK_EXTENSIONS = [
'..',
'markymark.extensions.anylink',
]
This extension has extra dependencies that need to be installed:
$ pip install django-markymark[anylink]
Note
For this extension additional settings are required that can be found in the django-anylink documentation
Warning
The JavaScript plugin overwrites the functionality of the “Link” button of the markdown editor with it’s own implementation. Please be aware of that.
Django-filer¶
An extension for django-filer a file and image management application for django.
The following needs to be added to the settings:
MARKYMARK_EXTENSIONS = [
'..',
'markymark.extensions.filer',
]
This extension has extra dependencies that need to be installed:
$ pip install django-markymark[filer]
Note
For this extension additional settings are required that can be found in the django-filer documentation
Warning
The JavaScript plugin overwrites the functionality of the “Link” button of the markdown editor with it’s own implementation. Please be aware of that.
Autolink¶
An extension to automatically create anchor tags from urls inspired by Github Flavored Markdown.
The following needs to be added to the settings:
MARKYMARK_EXTENSIONS = [
'..',
'markymark.extensions.autolink',
]
Example input/output:
http://www.example.com will turn into <a href="http://www.example.com">http://www.example.com</a>