-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Description
Code:
django-rest-framework/rest_framework/compat.py
Lines 263 to 265 in bf9533a
def md_filter_add_syntax_highlight(md): | |
md.preprocessors.add('highlight', CodeBlockPreprocessor(), "_begin") | |
return True |
Warning:
DeprecationWarning: Using the add method to register a processor or pattern is deprecated. Use the
register
method instead.
Relevant commit in markdown: Python-Markdown/markdown@6ee07d2
antoniodemora and edmorley