Build the default `treeprocessors` for Markdown.
(md: Markdown, **kwargs: Any)
| 37 | |
| 38 | |
| 39 | def build_treeprocessors(md: Markdown, **kwargs: Any) -> util.Registry[Treeprocessor]: |
| 40 | """ Build the default `treeprocessors` for Markdown. """ |
| 41 | treeprocessors = util.Registry() |
| 42 | treeprocessors.register(InlineProcessor(md), 'inline', 20) |
| 43 | treeprocessors.register(PrettifyTreeprocessor(md), 'prettify', 10) |
| 44 | treeprocessors.register(UnescapeTreeprocessor(md), 'unescape', 0) |
| 45 | return treeprocessors |
| 46 | |
| 47 | |
| 48 | def isString(s: object) -> bool: |
no test coverage detected