8 lines
202 B
Python
8 lines
202 B
Python
|
from markdown.extensions import Extension
|
||
|
|
||
|
|
||
|
class EscapeHtml(Extension):
|
||
|
def extendMarkdown(self, md):
|
||
|
md.preprocessors.deregister('html_block')
|
||
|
md.inlinePatterns.deregister('html')
|