Add `MetaPreprocessor` to Markdown instance.
(self, md)
| 40 | """ Meta-Data extension for Python-Markdown. """ |
| 41 | |
| 42 | def extendMarkdown(self, md): |
| 43 | """ Add `MetaPreprocessor` to Markdown instance. """ |
| 44 | md.registerExtension(self) |
| 45 | self.md = md |
| 46 | md.preprocessors.register(MetaPreprocessor(md), 'meta', 27) |
| 47 | |
| 48 | def reset(self) -> None: |
| 49 | self.md.Meta = {} |
nothing calls this directly
no test coverage detected