mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
@@ -10,7 +10,7 @@ from typing import Any, Dict, Optional, List, Tuple
|
||||
import markdown
|
||||
|
||||
import zerver.openapi.python_examples
|
||||
from zerver.lib.openapi import get_openapi_fixture, openapi_spec
|
||||
from zerver.openapi.openapi import get_openapi_fixture, openapi_spec
|
||||
|
||||
MACRO_REGEXP = re.compile(r'\{generate_code_example(\(\s*(.+?)\s*\))*\|\s*(.+?)\s*\|\s*(.+?)\s*(\(\s*(.+)\s*\))?\}')
|
||||
CODE_EXAMPLE_REGEX = re.compile(r'\# \{code_example\|\s*(.+?)\s*\}')
|
||||
|
||||
Reference in New Issue
Block a user