diff --git a/webviz_config/containers/_markdown.py b/webviz_config/containers/_markdown.py index 865e59ff..e690aa2b 100644 --- a/webviz_config/containers/_markdown.py +++ b/webviz_config/containers/_markdown.py @@ -17,8 +17,11 @@ def __init__(self, base_path): super(_WebvizMarkdownExtension, self).__init__() def extendMarkdown(self, md): - md.inlinePatterns['image_link'] = \ - _MarkdownImageProcessor(IMAGE_LINK_RE, md, self.base_path) + md.inlinePatterns.register( + item=_MarkdownImageProcessor(IMAGE_LINK_RE, md, self.base_path), + name='image_link', + priority=50 + ) class _MarkdownImageProcessor(ImageInlineProcessor):