Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Closed
Labels
Description
Code:
django-rest-framework/rest_framework/compat.py
Lines 263 to 265 inbf9533a
| defmd_filter_add_syntax_highlight(md): | |
| md.preprocessors.add('highlight',CodeBlockPreprocessor(),"_begin") | |
| returnTrue |
Warning:
DeprecationWarning: Using the add method to register a processor or pattern is deprecated. Use the
registermethod instead.
Relevant commit in markdown:Python-Markdown/markdown@6ee07d2