From 6fe5cb65a13f8ff2cf90a9c3c9519baa7f24c577 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 25 Jun 2022 18:37:51 -0700 Subject: [PATCH] templates: Fix Python-Markdown extension type. Signed-off-by: Anders Kaseorg --- zerver/lib/templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/lib/templates.py b/zerver/lib/templates.py index 6000886d9d..e1cc6b899a 100644 --- a/zerver/lib/templates.py +++ b/zerver/lib/templates.py @@ -65,8 +65,8 @@ def display_list(values: List[str], display_limit: int) -> str: return display_string -md_extensions: Optional[List[Any]] = None -md_macro_extension: Optional[Any] = None +md_extensions: Optional[List[markdown.Extension]] = None +md_macro_extension: Optional[markdown.Extension] = None # Prevent the automatic substitution of macros in these docs. If # they contain a macro, it is always used literally for documenting # the macro system.