We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
run-python
1 parent c2b8e61 commit 79eaf8aCopy full SHA for 79eaf8a
tools/md_to_pptx/md_to_pptx.py
@@ -32,7 +32,7 @@ def _invoke(self, tool_parameters: dict) -> Generator[ToolInvokeMessage, None, N
32
pptx_template_file: Optional[File] = tool_parameters.get("pptx_template_file")
33
34
# check parameters
35
- if "```run-python" in md_text:
+ if "``` run-python" in md_text:
36
raise ValueError("The `run-python` marco of md2pptx is not allowed.")
37
if pptx_template_file and not isinstance(pptx_template_file, File):
38
raise ValueError("Not a valid file for pptx template file")
0 commit comments