Insert `AbbrTreeprocessor` and `AbbrBlockprocessor`.
(self, md)
| 69 | self.glossary = {**dictionary, **self.glossary} |
| 70 | |
| 71 | def extendMarkdown(self, md): |
| 72 | """ Insert `AbbrTreeprocessor` and `AbbrBlockprocessor`. """ |
| 73 | if (self.config['glossary'][0]): |
| 74 | self.load_glossary(self.config['glossary'][0]) |
| 75 | self.abbrs.update(self.glossary) |
| 76 | md.registerExtension(self) |
| 77 | md.treeprocessors.register(AbbrTreeprocessor(md, self.abbrs), 'abbr', 7) |
| 78 | md.parser.blockprocessors.register(AbbrBlockprocessor(md.parser, self.abbrs), 'abbr', 16) |
| 79 | |
| 80 | |
| 81 | class AbbrTreeprocessor(Treeprocessor): |
nothing calls this directly
no test coverage detected