code: def extendMarkdown(self, md, md_globals):
          
          md.registerExtension(self)
  
          md.preprocessors.add('graphviz_block',
                               InlineGraphvizPreprocessor(md),
                               "_begin")
docs: Add InlineGraphvizPreprocessor to the Markdown instance.